diff --git a/classpath/java-lang.cpp b/classpath/java-lang.cpp index ebb272a3e0..39098ca4c4 100644 --- a/classpath/java-lang.cpp +++ b/classpath/java-lang.cpp @@ -423,6 +423,12 @@ Java_java_lang_Math_sin(JNIEnv*, jclass, jdouble val) return sin(val); } +extern "C" JNIEXPORT jdouble JNICALL +Java_java_lang_Math_cos(JNIEnv*, jclass, jdouble val) +{ + return cos(val); +} + extern "C" JNIEXPORT jdouble JNICALL Java_java_lang_Math_sqrt(JNIEnv*, jclass, jdouble val) {