Print this page


Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/m9x/fdiml.c
          +++ new/usr/src/lib/libm/common/m9x/fdiml.c
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28   */
  29   29  
  30   30  #if defined(ELFOBJ)
  31   31  #pragma weak fdiml = __fdiml
  32   32  #endif
  33   33  
  34   34  #include "libm.h"       /* for islessequal macro */
  35   35  
  36   36  long double
  37   37  __fdiml(long double x, long double y) {
  38      -#if defined(COMPARISON_MACRO_BUG)
  39      -        if (x == x && y == y && x <= y) {
  40      -#else
  41   38          if (islessequal(x, y)) {
  42      -#endif
  43   39                  x = 0.0l;
  44   40                  y = -x;
  45   41          }
  46   42          return (x - y);
  47   43  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX