summaryrefslogtreecommitdiff
path: root/native/jni/java-lang/java_lang_VMMath.c
Commit message (Collapse)AuthorAgeFilesLines
* 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-02-231-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/java_lang_VMMath.h: (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added. (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added. (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added. (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added. (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added. (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added. (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added. (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added. * java/lang/Math.java: (cbrt(double)): Implemented. (cosh(double)): Implemented. (expm1(double)): Implemented. (hypot(double,double)): Implemented. (log10(double)): Implemented. (log1p(double)): Implemented. (signum(double)): Implemented. (signum(float)): Implemented. (sinh(double)): Implemented. (tanh(double)): Implemented. * native/fdlibm/Makefile.am: Added new files from fdlibm 5.3. * native/fdlibm/e_acos.c, * native/fdlibm/e_asin.c, * native/fdlibm/e_atan2.c, * native/fdlibm/e_exp.c, * native/fdlibm/e_fmod.c, * native/fdlibm/e_log.c, * native/fdlibm/e_rem_pio2.c, * native/fdlibm/e_remainder.c, * native/fdlibm/e_scalb.c, * native/fdlibm/e_sqrt.c, * native/fdlibm/k_cos.c, * native/fdlibm/k_rem_pio2.c, * native/fdlibm/k_sin.c, * native/fdlibm/k_tan.c, * native/fdlibm/s_atan.c, * native/fdlibm/s_ceil.c, * native/fdlibm/s_copysign.c, * native/fdlibm/s_cos.c, * native/fdlibm/s_fabs.c, * native/fdlibm/s_finite.c, * native/fdlibm/s_floor.c, * native/fdlibm/s_rint.c, * native/fdlibm/s_scalbn.c, * native/fdlibm/s_sin.c, * native/fdlibm/s_tan.c, * native/fdlibm/w_acos.c, * native/fdlibm/w_asin.c, * native/fdlibm/w_atan2.c, * native/fdlibm/w_acos.c, * native/fdlibm/w_exp.c, * native/fdlibm/w_fmod.c, * native/fdlibm/w_log.c, * native/fdlibm/w_pow.c, * native/fdlibm/w_remainder.c, * native/fdlibm/w_sqrt.c: Updated to fdlibm 5.3. * native/fdlibm/e_cosh.c, * native/fdlibm/e_hypot.c, * native/fdlibm/e_log10.c, * native/fdlibm/e_sinh.c, * native/fdlibm/s_cbrt.c, * native/fdlibm/s_expm1.c, * native/fdlibm/s_log1p.c, * native/fdlibm/s_tanh.c, * native/fdlibm/w_cosh.c, * native/fdlibm/w_hypot.c, * native/fdlibm/w_log10.c, * native/fdlibm/w_sinh.c: Imported from fdlibm 5.3. * native/fdlibm/fdlibm.h: Imported from fdlibm 5.3 with Classpath additions. * native/fdlibm/namespace.h: Updated from new math_symbols file. * native/jni/java-lang/java_lang_VMMath.c: (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented. (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented. (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented. (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Implemented. (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented. (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented. (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented. (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented. * scripts/math_symbols: Added tanh, expm1, log10 and log1p. * vm/reference/java/lang/VMMath.java: (cbrt(double)): Implemented. (cosh(double)): Implemented. (expm1(double)): Implemented. (hypot(double,double)): Implemented. (log10(double)): Implemented. (log1p(double)): Implemented. (sinh(double)): Implemented. (tanh(double)): Implemented.
* 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-02-131-0/+162
* include/Makefile.am: Swapped Math.h for VMMath.h * include/java_lang_Math.h: Removed. * include/java_lang_VMMath.h: New autogenerated header for the new class. * java/lang/Math.java: (sin(double)): Changed to link to VMMath. (cos(double)): Changed to link to VMMath. (tan(double)): Changed to link to VMMath. (asin(double)): Changed to link to VMMath. (acos(double)): Changed to link to VMMath. (atan(double)): Changed to link to VMMath. (atan2(double)): Changed to link to VMMath. (exp(double)): Changed to link to VMMath. (log(double)): Changed to link to VMMath. (sqrt(double)): Changed to link to VMMath. (pow(double,double)): Changed to link to VMMath. (IEEEremainder(double,double)): Changed to link to VMMath. (ceil(double)): Changed to link to VMMath. (floor(double)): Changed to link to VMMath. (rint(double)): Changed to link to VMMath. * native/jni/java-lang/Makefile.am: Replaced java_lang_Math.c with java_lang_VMMath.c * native/jni/java-lang/java_lang_Math.c: Removed. * native/jni/java-lang/java_lang_VMMath.c: Renamed from java_lang_Math.c. * vm/reference/java/lang/VMMath.java: New class. (sin(double)): New native method. (cos(double)): New native method. (tan(double)): New native method. (asin(double)): New native method. (acos(double)): New native method. (atan(double)): New native method. (atan2(double)): New native method. (exp(double)): New native method. (log(double)): New native method. (sqrt(double)): New native method. (pow(double,double)): New native method. (IEEEremainder(double,double)): New native method. (ceil(double)): New native method. (floor(double)): New native method. (rint(double)): New native method.