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/log1pl.c
          +++ new/usr/src/lib/libm/common/Q/log1pl.c
↓ open down ↓ 101 lines elided ↑ open up ↑
 102  102   *      log(+INF) is +INF; log(0) is -INF with signal;
 103  103   *      log(NaN) is that NaN with no signal.
 104  104   *
 105  105   * Constants:
 106  106   * The hexadecimal values are the intended ones for the following constants.
 107  107   * The decimal values may be used, provided that the compiler will convert
 108  108   * from decimal to binary accurately enough to produce the hexadecimal values
 109  109   * shown.
 110  110   */
 111  111  
 112      -#pragma weak log1pl = __log1pl
      112 +#pragma weak __log1pl = log1pl
 113  113  
 114  114  #include "libm.h"
 115  115  
 116  116  extern const long double _TBL_logl_hi[], _TBL_logl_lo[];
 117  117  
 118  118  static const long double
 119  119  zero    =   0.0L,
 120  120  one     =   1.0L,
 121  121  two     =   2.0L,
 122  122  ln2hi   =   6.931471805599453094172319547495844850203e-0001L,
↓ open down ↓ 95 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX