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

@@ -217,12 +216,10 @@
  5.1200000000000001066e-01, 1.7888543819998317663e-01,
  5.0793650793650790831e-01, 1.7817416127494958844e-01,
  5.0393700787401574104e-01, 1.7747130188322274291e-01,
 };
 
-#define fabsf   __fabsf
-
 extern float fabsf(float);
 
 static const double
         A0 = 9.99999997962321453275e-01,
         A1 =-4.99999998166077580600e-01,

@@ -460,6 +457,5 @@
                 res0 *= dbase0;
                 *pz = res0;
                 pz += stridez;
         }
 }
-