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>
*** 26,36 ****
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#include <sys/isa_defs.h>
- #include "libm_synonyms.h"
#include "libm_inlines.h"
#ifdef _LITTLE_ENDIAN
#define HI(x) *(1+(int*)x)
#define LO(x) *(unsigned*)x
--- 26,35 ----
*** 64,75 ****
* Accuracy:
* Maximum error observed: less than 0.872 ulp after 16.777.216.000
* results.
*/
- #define sqrt __sqrt
-
extern double sqrt(double);
extern double fabs(double);
static const unsigned long long LCONST[] = {
0x41b0000000000000ULL, /* D2ON28 = 2 ** 28 */
--- 63,72 ----
*** 392,397 ****
*pz = res0;
pz += stridez;
}
}
-
--- 389,393 ----