diff --git a/classpath/java-lang.cpp b/classpath/java-lang.cpp index 704e2ae6a5..88a4cf5ef6 100644 --- a/classpath/java-lang.cpp +++ b/classpath/java-lang.cpp @@ -898,6 +898,11 @@ Java_java_lang_Math_atan(JNIEnv*, jclass, jdouble val) return atan(val); } +extern "C" JNIEXPORT jdouble JNICALL +Java_java_lang_Math_atan2(JNIEnv*, jclass, jdouble y, jdouble x) +{ + return atan2(y, x); +} extern "C" JNIEXPORT jdouble JNICALL Java_java_lang_Math_sinh(JNIEnv*, jclass, jdouble val) @@ -917,7 +922,6 @@ Java_java_lang_Math_tanh(JNIEnv*, jclass, jdouble val) return tanh(val); } - extern "C" JNIEXPORT jdouble JNICALL Java_java_lang_Math_sqrt(JNIEnv*, jclass, jdouble val) {