Print this page
5261 libm should stop using synonyms.h

@@ -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

@@ -65,14 +64,11 @@
  * Accuracy:
  *      Maximum error observed: less than 0.869 ulp after 1.000.000.000
  *      results.
  */
 
-#define sqrt __sqrt
-
 extern double sqrt(double);
-
 extern double fabs(double);
 
 static const int __vlibm_TBL_rhypot[] = {
 /* i = [0,127]
  * TBL[i] = 0x3ff00000 + *(int*)&(1.0 / *(double*)&(0x3ff0000000000000ULL + (i << 45))); */

@@ -426,6 +422,5 @@
 
                         *pz1 = res1;
                 }
         }
 }
-