1 /* copyright(C) 2003 H.Kawai (under KL-01). */
7 #if (defined(__cplusplus))
14 double ldexp(double x, int n);
15 double frexp(double x, int *exp);
17 extern __inline__ double sin(double x)
20 __asm__ ("fsin" : "=t" (res) : "0" (x));
24 extern __inline__ double cos(double x)
27 __asm__ ("fcos" : "=t" (res) : "0" (x));
31 extern __inline__ double sqrt(double x)
34 __asm__ ("fsqrt" : "=t" (res) : "0" (x));
38 #if (defined(__cplusplus))