17 #ifdef POK_NEEDS_LIBMATH
21 #include "math_private.h"
24 __fpclassifyf (
float x)
30 if (w == 0x00000000 || w == 0x80000000)
32 else if ((w >= 0x00800000 && w <= 0x7f7fffff) ||
33 (w >= 0x80800000 && w <= 0xff7fffff))
35 else if ((w >= 0x00000001 && w <= 0x007fffff) ||
36 (w >= 0x80000001 && w <= 0x807fffff))
38 else if (w == 0x7f800000 || w == 0xff800000)
45 __fpclassifyd (
double x)
49 EXTRACT_WORDS(msw,lsw,x);
51 if ((msw == 0x00000000 && lsw == 0x00000000) ||
52 (msw == 0x80000000 && lsw == 0x00000000))
54 else if ((msw >= 0x00100000 && msw <= 0x7fefffff) ||
55 (msw >= 0x80100000 && msw <= 0xffefffff))
61 else if ((msw <= 0x000fffff) ||
62 (msw >= 0x80000000 && msw <= 0x800fffff))
65 else if ((msw == 0x7ff00000 && lsw == 0x00000000) ||
66 (msw == 0xfff00000 && lsw == 0x00000000))