29 |
#define IN_NUM_CO |
#define IN_NUM_CO |
30 |
|
|
31 |
#define NEED_MP_H |
#define NEED_MP_H |
32 |
#define _GNU_SOURCE |
|
33 |
#include "include.h" |
#include "include.h" |
34 |
#include "num_include.h" |
#include "num_include.h" |
35 |
|
|
121 |
h = h >> 1; |
h = h >> 1; |
122 |
#endif |
#endif |
123 |
#ifdef IEEEFLOAT |
#ifdef IEEEFLOAT |
124 |
if (isnormal(d)) { |
if (ISNORMAL(d)) { |
125 |
*ep = ((h & 0x7ff00000) >> 20) - 1022 - 53; |
*ep = ((h & 0x7ff00000) >> 20) - 1022 - 53; |
126 |
h = (h & 0x000fffff | 0x00100000); |
h = (h & 0x000fffff | 0x00100000); |
127 |
} else { |
} else { |
207 |
|
|
208 |
#endif |
#endif |
209 |
#ifdef IEEEFLOAT |
#ifdef IEEEFLOAT |
210 |
if (isnormal(f)) { |
if (ISNORMAL(f)) { |
211 |
*ep = ((m & 0x7f800000) >> 23) - 126 - 24; |
*ep = ((m & 0x7f800000) >> 23) - 126 - 24; |
212 |
*mp = m & 0x007fffff | 0x00800000; |
*mp = m & 0x007fffff | 0x00800000; |
213 |
} else { |
} else { |