Print this page
5261 libm should stop using synonyms.h

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/m9x/tgammaf.c
          +++ new/usr/src/lib/libm/common/m9x/tgammaf.c
↓ open down ↓ 19 lines elided ↑ open up ↑
  20   20   */
  21   21  
  22   22  /*
  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      -#pragma weak tgammaf = __tgammaf
       30 +#pragma weak __tgammaf = tgammaf
  31   31  
  32   32  /*
  33   33   * True gamma function
  34   34   *
  35   35   * float tgammaf(float x)
  36   36   *
  37   37   * Algorithm: see tgamma.c
  38   38   *
  39   39   * Maximum error observed: 0.87ulp (both positive and negative arguments)
  40   40   */
  41   41  
  42   42  #include "libm.h"
  43      -#include "libm_synonyms.h"
  44   43  #include <math.h>
  45   44  #if defined(__SUNPRO_C)
  46   45  #include <sunmath.h>
  47   46  #endif
  48   47  #include <sys/isa_defs.h>
  49   48  
  50   49  #if defined(_BIG_ENDIAN)
  51   50  #define HIWORD  0
  52   51  #define LOWORD  1
  53   52  #else
↓ open down ↓ 494 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX