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/LD/j1l.c
          +++ new/usr/src/lib/libm/common/LD/j1l.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: j1(x),y1(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 j1l = __j1l
  40      -#pragma weak y1l = __y1l
       39 +#pragma weak __j1l = j1l
       40 +#pragma weak __y1l = y1l
  41   41  
  42   42  #include "libm.h"
  43      -#include "libm_synonyms.h"
  44   43  #include "longdouble.h"
  45   44  #include <math.h>
  46   45  #if defined(__SUNPRO_C)
  47   46  #include <sunmath.h>
  48   47  #endif
  49   48  
  50   49  #define GENERIC long double
  51   50  static GENERIC
  52   51  zero    = 0.0L,
  53   52  small   = 1.0e-9L,
↓ open down ↓ 700 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX