java.lang.Math.log() and java.lang.Math.tan()

This commit is contained in:
Alexey Pelykh 2013-01-21 18:19:55 +02:00
parent ce9d7c35bb
commit 13848cb520

View File

@ -785,6 +785,12 @@ Java_java_lang_Math_cos(JNIEnv*, jclass, jdouble val)
return cos(val);
}
extern "C" JNIEXPORT jdouble JNICALL
Java_java_lang_Math_tan(JNIEnv*, jclass, jdouble val)
{
return tan(val);
}
extern "C" JNIEXPORT jdouble JNICALL
Java_java_lang_Math_sqrt(JNIEnv*, jclass, jdouble val)
{
@ -797,6 +803,12 @@ Java_java_lang_Math_pow(JNIEnv*, jclass, jdouble val, jdouble exp)
return pow(val, exp);
}
extern "C" JNIEXPORT jdouble JNICALL
Java_java_lang_Math_log(JNIEnv*, jclass, jdouble val)
{
return log(val);
}
extern "C" JNIEXPORT jdouble JNICALL
Java_java_lang_Math_floor(JNIEnv*, jclass, jdouble val)
{