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/j0l.c
          +++ new/usr/src/lib/libm/common/LD/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      -#include "libm_synonyms.h"
  44   43  
  45   44  #include "longdouble.h"
  46   45  
  47   46  #include <math.h>
  48   47  #if defined(__SUNPRO_C)
  49   48  #include <sunmath.h>
  50   49  #endif
  51   50  
  52   51  #define GENERIC long double
  53   52  static GENERIC
↓ open down ↓ 696 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX