Print this page
5261 libm should stop using synonyms.h

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/Q/erfl.c
          +++ new/usr/src/lib/libm/common/Q/erfl.c
↓ open down ↓ 85 lines elided ↑ open up ↑
  86   86   *
  87   87   *      Else if inf > x >= 107
  88   88   *         erf(x)  = 1 with inexact
  89   89   *         erfc(x) = 0 with underflow
  90   90   *
  91   91   *      Special case:
  92   92   *         erf(inf)  = 1
  93   93   *         erfc(inf) = 0
  94   94   */
  95   95  
  96      -#pragma weak erfl = __erfl
  97      -#pragma weak erfcl = __erfcl
       96 +#pragma weak __erfl = erfl
       97 +#pragma weak __erfcl = erfcl
  98   98  
  99   99  #include "libm.h"
 100  100  #include "longdouble.h"
 101  101  
 102  102  static const long double
 103  103          tiny        = 1e-40L,
 104  104          nearunfl    = 1e-4000L,
 105  105          half        = 0.5L,
 106  106          one         = 1.0L,
 107  107          onehalf     = 1.5L,
↓ open down ↓ 259 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX