Print this page
5261 libm should stop using synonyms.h

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/Q/sincosl.c
          +++ new/usr/src/lib/libm/common/Q/sincosl.c
↓ open down ↓ 50 lines elided ↑ open up ↑
  51   51   *
  52   52   * Special cases:
  53   53   *      Let trig be any of sin, cos, or tan.
  54   54   *      trig(+-INF)  is NaN, with signals;
  55   55   *      trig(NaN)    is that NaN;
  56   56   *
  57   57   * Accuracy:
  58   58   *      computer TRIG(x) returns trig(x) nearly rounded.
  59   59   */
  60   60  
  61      -#pragma weak sincosl = __sincosl
       61 +#pragma weak __sincosl = sincosl
  62   62  
  63   63  #include "libm.h"
  64   64  #include "longdouble.h"
  65   65  
  66   66  void
  67   67  sincosl(long double x, long double *s, long double *c) {
  68   68          long double y[2], z = 0.0L;
  69   69          int n, ix;
  70   70  
  71   71          ix = *(int *) &x;       /* High word of x */
↓ open down ↓ 27 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX