< prev index next >
src/java.desktop/share/native/libmlib_image/mlib_SysMath.h
Print this page
rev 59106 : imported patch client
*** 55,84 ****
#else
#define mlib_sqrt sqrt
- #ifdef MLIB_NO_LIBSUNMATH
-
#define mlib_sinf (float) sin
#define mlib_cosf (float) cos
void mlib_sincosf (float x, float *s, float *c);
#define mlib_sqrtf (float) sqrt
#define mlib_fabsf (float) fabs
- #else
-
- #include <sunmath.h>
-
- #define mlib_sinf sinf
- #define mlib_cosf cosf
- #define mlib_sincosf sincosf
- #define mlib_sqrtf sqrtf
- #define mlib_fabsf fabsf
-
- #endif /* MLIB_NO_LIBSUNMATH */
-
#endif /* MLIB_LIBCAFEMATH */
/* internal mathematical functions */
--- 55,70 ----
< prev index next >