123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- #ifndef TRIO_NAN_H
- #define TRIO_NAN_H
- #include "triodef.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- enum {
- TRIO_FP_INFINITE,
- TRIO_FP_NAN,
- TRIO_FP_NORMAL,
- TRIO_FP_SUBNORMAL,
- TRIO_FP_ZERO
- };
- TRIO_PUBLIC double trio_nan TRIO_PROTO((void));
- TRIO_PUBLIC double trio_pinf TRIO_PROTO((void));
- TRIO_PUBLIC double trio_ninf TRIO_PROTO((void));
-
- TRIO_PUBLIC double trio_nzero TRIO_PROTO((TRIO_NOARGS));
- TRIO_PUBLIC int trio_isnan TRIO_PROTO((double number));
- TRIO_PUBLIC int trio_isinf TRIO_PROTO((double number));
- #if 0
-
- TRIO_PUBLIC int trio_isfinite TRIO_PROTO((double number));
- TRIO_PUBLIC int trio_fpclassify TRIO_PROTO((double number));
- #endif
- TRIO_PUBLIC int trio_signbit TRIO_PROTO((double number));
- TRIO_PUBLIC int trio_fpclassify_and_signbit TRIO_PROTO((double number, int *is_negative));
- #ifdef __cplusplus
- }
- #endif
- #endif
|