47 #ifdef POK_NEEDS_LIBMATH
50 #include "math_private.h"
52 static const double one = 1.0, shuge = 1.0e307;
55 __ieee754_sinh(
double x)
66 if(ix>=0x7ff00000)
return x+x;
71 if (ix < 0x40360000) {
73 if(shuge+x>one)
return x;
75 if(ix<0x3ff00000)
return h*(2.0*t-t*t/(t+one));
76 return h*(t+t/(t+one));
80 if (ix < 0x40862E42)
return h*__ieee754_exp(fabs(x));
84 if (ix<0x408633CE || ((ix==0x408633ce)&&(lx<=(uint32_t)0x8fb9f87d))) {
85 w = __ieee754_exp(0.5*fabs(x));