* NAN and INFINITY like macros (same behavior as glibc for NAN, same as C99 * for INFINITY) * * XXX: I should test whether INFINITY and NAN are available on the platform */
| 25 | * XXX: I should test whether INFINITY and NAN are available on the platform |
| 26 | */ |
| 27 | static inline float __npy_inff(void) |
| 28 | { |
| 29 | const union { npy_uint32 __i; float __f;} __bint = {0x7f800000UL}; |
| 30 | return __bint.__f; |
| 31 | } |
| 32 | |
| 33 | static inline float __npy_nanf(void) |
| 34 | { |
nothing calls this directly
no outgoing calls
no test coverage detected