Print this page
5261 libm should stop using synonyms.h
5298 fabs is 0-sized, confuses dis(1) and others
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Approved by: Gordon Ross <gwr@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/Q/expl.c
          +++ new/usr/src/lib/libm/common/Q/expl.c
↓ open down ↓ 59 lines elided ↑ open up ↑
  60   60   *      then expl(x) overflow;
  61   61   *              if x < -1.143346274333629787883724384345262150341e+4
  62   62   *      then expl(x) underflow
  63   63   *
  64   64   * Constants:
  65   65   * Only decimal values are given. We assume that the compiler will convert
  66   66   * from decimal to binary accurately enough to produce the correct
  67   67   * hexadecimal values.
  68   68   */
  69   69  
  70      -#pragma weak expl = __expl
       70 +#pragma weak __expl = expl
  71   71  
  72   72  #include "libm.h"
  73   73  
  74   74  extern const long double _TBL_expl_hi[], _TBL_expl_lo[];
  75   75  
  76   76  static const long double
  77   77  one             =  1.0L,
  78   78  two             =  2.0L,
  79   79  ln2_64          =  1.083042469624914545964425189778400898568e-2L,
  80   80  ovflthreshold   =  1.135652340629414394949193107797076342845e+4L,
↓ open down ↓ 46 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX