Print this page
5261 libm should stop using synonyms.h

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/m9x/nearbyintf.c
          +++ new/usr/src/lib/libm/common/m9x/nearbyintf.c
↓ open down ↓ 22 lines elided ↑ open up ↑
  23   23   * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  24   24   */
  25   25  /*
  26   26   * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  27   27   * Use is subject to license terms.
  28   28   */
  29   29  
  30   30  #pragma weak nearbyintf = __nearbyintf
  31   31  
  32   32  #include "libm.h"
  33      -#include "fenv_synonyms.h"
  34   33  #include <fenv.h>
  35   34  
  36   35  float
  37   36  __nearbyintf(float x) {
  38   37          union {
  39   38                  unsigned i;
  40   39                  float f;
  41   40          } xx;
  42   41          unsigned hx, sx, i, frac;
  43   42          int rm;
↓ open down ↓ 141 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX