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,11 +26,10 @@
  * 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

@@ -64,12 +63,10 @@
  * 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             */

@@ -392,6 +389,5 @@
                 *pz = res0;
 
                 pz += stridez;
         }
 }
-