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

Split Close
Expand all
Collapse all
          --- old/usr/src/head/floatingpoint.h
          +++ new/usr/src/head/floatingpoint.h
↓ open down ↓ 54 lines elided ↑ open up ↑
  55   55  #else
  56   56  #define __P(p)  ()
  57   57  #endif
  58   58  #endif  /* !defined(__P) */
  59   59  
  60   60  #if defined(__STDC__) && !defined(_FILEDEFED)
  61   61  #define _FILEDEFED
  62   62  typedef __FILE FILE;
  63   63  #endif
  64   64  
  65      -#define N_IEEE_EXCEPTION 5      /* Number of floating-point exceptions. */
  66      -
  67   65  typedef int sigfpe_code_type;   /* Type of SIGFPE code. */
  68   66  
  69   67  typedef void (*sigfpe_handler_type)();  /* Pointer to exception handler */
  70   68  
  71   69  #define SIGFPE_DEFAULT (void (*)())0    /* default exception handling */
  72   70  #define SIGFPE_IGNORE  (void (*)())1    /* ignore this exception or code */
  73   71  #define SIGFPE_ABORT   (void (*)())2    /* force abort on exception */
  74   72  
  75   73  extern sigfpe_handler_type sigfpe __P((sigfpe_code_type, sigfpe_handler_type));
  76   74  
↓ open down ↓ 136 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX