Print this page
10495 libc should know how many FPU exceptions there are

@@ -25,12 +25,10 @@
  */
 
 #ifndef _SYS_IEEEFP_H
 #define _SYS_IEEEFP_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"        /* SunOS4.0 1.6 */
-
 #ifdef  __cplusplus
 extern "C" {
 #endif
 
 /*

@@ -58,10 +56,11 @@
         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,10 +90,11 @@
         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,