ossp-pkg/js/src/fdlibm/fdlibm.h 1.1 -> 1.2
--- fdlibm.h 2006/04/23 06:33:26 1.1
+++ fdlibm.h 2006/07/22 13:48:03 1.2
@@ -49,6 +49,97 @@
* ====================================================
*/
+#ifdef OSSP
+/* select functionality */
+#define _IEEE_LIBM
+/* avoid namespace pollution */
+#define __ieee754_acos js___ieee754_acos
+#define __ieee754_acosh js___ieee754_acosh
+#define __ieee754_asin js___ieee754_asin
+#define __ieee754_atan2 js___ieee754_atan2
+#define __ieee754_atanh js___ieee754_atanh
+#define __ieee754_cosh js___ieee754_cosh
+#define __ieee754_exp js___ieee754_exp
+#define __ieee754_fmod js___ieee754_fmod
+#define __ieee754_gamma js___ieee754_gamma
+#define __ieee754_gamma_r js___ieee754_gamma_r
+#define __ieee754_hypot js___ieee754_hypot
+#define __ieee754_j0 js___ieee754_j0
+#define __ieee754_j1 js___ieee754_j1
+#define __ieee754_jn js___ieee754_jn
+#define __ieee754_lgamma js___ieee754_lgamma
+#define __ieee754_lgamma_r js___ieee754_lgamma_r
+#define __ieee754_log js___ieee754_log
+#define __ieee754_log10 js___ieee754_log10
+#define __ieee754_pow js___ieee754_pow
+#define __ieee754_rem_pio2 js___ieee754_rem_pio2
+#define __ieee754_remainder js___ieee754_remainder
+#define __ieee754_scalb js___ieee754_scalb
+#define __ieee754_sinh js___ieee754_sinh
+#define __ieee754_sqrt js___ieee754_sqrt
+#define __ieee754_y0 js___ieee754_y0
+#define __ieee754_y1 js___ieee754_y1
+#define __ieee754_yn js___ieee754_yn
+#define __kernel_cos js___kernel_cos
+#define __kernel_rem_pio2 js___kernel_rem_pio2
+#define __kernel_sin js___kernel_sin
+#define __kernel_standard js___kernel_standard
+#define __kernel_tan js___kernel_tan
+#define fd_acos js_fd_acos
+#define fd_acosh js_fd_acosh
+#define fd_asin js_fd_asin
+#define fd_asinh js_fd_asinh
+#define fd_atan js_fd_atan
+#define fd_atan2 js_fd_atan2
+#define fd_atanh js_fd_atanh
+#define fd_cbrt js_fd_cbrt
+#define fd_ceil js_fd_ceil
+#define fd_copysign js_fd_copysign
+#define fd_cos js_fd_cos
+#define fd_cosh js_fd_cosh
+#define fd_erf js_fd_erf
+#define fd_erfc js_fd_erfc
+#define fd_exp js_fd_exp
+#define fd_expm1 js_fd_expm1
+#define fd_fabs js_fd_fabs
+#define fd_finite js_fd_finite
+#define fd_floor js_fd_floor
+#define fd_fmod js_fd_fmod
+#define fd_frexp js_fd_frexp
+#define fd_gamma js_fd_gamma
+#define fd_hypot js_fd_hypot
+#define fd_ilogb js_fd_ilogb
+#define fd_isnan js_fd_isnan
+#define fd_j0 js_fd_j0
+#define fd_j1 js_fd_j1
+#define fd_jn js_fd_jn
+#define fd_ldexp js_fd_ldexp
+#define fd_lgamma js_fd_lgamma
+#define fd_log js_fd_log
+#define fd_log10 js_fd_log10
+#define fd_log1p js_fd_log1p
+#define fd_logb js_fd_logb
+#define fd_matherr js_fd_matherr
+#define fd_modf js_fd_modf
+#define fd_nextafter js_fd_nextafter
+#define fd_pow js_fd_pow
+#define fd_remainder js_fd_remainder
+#define fd_rint js_fd_rint
+#define fd_scalb js_fd_scalb
+#define fd_scalbn js_fd_scalbn
+#define fd_sin js_fd_sin
+#define fd_sinh js_fd_sinh
+#define fd_sqrt js_fd_sqrt
+#define fd_tan js_fd_tan
+#define fd_tanh js_fd_tanh
+#define fd_y0 js_fd_y0
+#define fd_y1 js_fd_y1
+#define fd_yn js_fd_yn
+#define gamma_r js_gamma_r
+#define lgamma_r js_lgamma_r
+#define significand js_significand
+#endif
+
/* Modified defines start here.. */
#undef __LITTLE_ENDIAN
|
|