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/j0l.c
          +++ new/usr/src/lib/libm/common/Q/j0l.c
↓ open down ↓ 28 lines elided ↑ open up ↑
  29   29  
  30   30  /*
  31   31   * Floating point Bessel's function of the first and second kinds
  32   32   * of order zero: j0(x),y0(x);
  33   33   *
  34   34   * Special cases:
  35   35   *      y0(0)=y1(0)=yn(n,0) = -inf with division by zero signal;
  36   36   *      y0(-ve)=y1(-ve)=yn(n,-ve) are NaN with invalid signal.
  37   37   */
  38   38  
  39      -#pragma weak j0l = __j0l
  40      -#pragma weak y0l = __y0l
       39 +#pragma weak __j0l = j0l
       40 +#pragma weak __y0l = y0l
  41   41  
  42   42  #include "libm.h"
  43   43  #include "longdouble.h"
  44   44  
  45   45  #define GENERIC long double
  46   46  static const GENERIC
  47   47  zero    = 0.0L,
  48   48  small   = 1.0e-9L,
  49   49  tiny    = 1.0e-38L,
  50   50  one     = 1.0L,
↓ open down ↓ 688 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX