```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/C/expm1.c
+++ new/usr/src/lib/libm/common/C/expm1.c
```
 ↓ open down ↓ 19 lines elided ↑ open up ↑
```  20   20   */
21   21
22   22  /*
24   24   */
25   25  /*
27   27   * Use is subject to license terms.
28   28   */
29   29
30      -#pragma weak expm1 = __expm1
30 +#pragma weak __expm1 = expm1
31   31
32   32  /* INDENT OFF */
33   33  /*
34   34   * expm1(x)
35   35   * Returns exp(x)-1, the exponential of x minus 1.
36   36   *
37   37   * Method
38   38   *   1. Arugment reduction:
39   39   *      Given x, find r and integer k such that
40   40   *
```
 ↓ open down ↓ 79 lines elided ↑ open up ↑
``` 120  120   *          if x >  7.09782712893383973096e+02 then expm1(x) overflow
121  121   *
122  122   * Constants:
123  123   * The hexadecimal values are the intended ones for the following
124  124   * constants. The decimal values may be used, provided that the
125  125   * compiler will convert from decimal to binary accurately enough
126  126   * to produce the hexadecimal values shown.
127  127   */
128  128  /* INDENT ON */
129  129
130      -#include "libm_synonyms.h"      /* __expm1 */
131  130  #include "libm_macros.h"
132  131  #include <math.h>
133  132
134  133  static const double xxx[] = {
135  134  /* one */                1.0,
136  135  /* huge */               1.0e+300,
137  136  /* tiny */               1.0e-300,
138  137  /* o_threshold */        7.09782712893383973096e+02,    /* 40862E42 FEFA39EF */
139  138  /* ln2_hi */             6.93147180369123816490e-01,    /* 3FE62E42 FEE00000 */
140  139  /* ln2_lo */             1.90821492927058770002e-10,    /* 3DEA39EF 35793C76 */
```
 ↓ open down ↓ 126 lines elided ↑ open up ↑
`XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX`