Print this page
10495 libc should know how many FPU exceptions there are
*** 25,36 ****
*/
#ifndef _SYS_IEEEFP_H
#define _SYS_IEEEFP_H
- #pragma ident "%Z%%M% %I% %E% SMI" /* SunOS4.0 1.6 */
-
#ifdef __cplusplus
extern "C" {
#endif
/*
--- 25,34 ----
*** 58,67 ****
--- 56,66 ----
fp_division = 1,
fp_underflow = 2,
fp_overflow = 3,
fp_invalid = 4
};
+ #define N_IEEE_EXCEPTION 5 /* Number of floating-point exceptions. */
enum fp_trap_enable_type { /* trap enable bits according to bit number */
fp_trap_inexact = 0,
fp_trap_division = 1,
fp_trap_underflow = 2,
*** 91,100 ****
--- 90,100 ----
fp_division = 2,
fp_overflow = 3,
fp_underflow = 4,
fp_inexact = 5
};
+ #define N_IEEE_EXCEPTION 6 /* Number of floating-point exceptions. */
enum fp_trap_enable_type { /* trap enable bits according to bit number */
fp_trap_invalid = 0,
fp_trap_denormalized = 1,
fp_trap_division = 2,