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

@@ -81,12 +80,10 @@
  *      polynomial is 2**(-56.26).
  *      Maximum error observed: less than 0.563 ulp after 1.500.000.000
  *      results.
  */
 
-#define sqrt __sqrt
-
 extern double sqrt (double);
 extern const double __vlibm_TBL_rsqrt[];
 
 static void
 __vrsqrt_n(int n, double * restrict px, int stridex, double * restrict py, int stridey);

@@ -410,6 +407,5 @@
 
                 *py = res0;
                 py += stridey;
         }
 }
-