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>

@@ -25,11 +25,10 @@
 /*
  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#include "libm_synonyms.h"
 #include "libm_inlines.h"
 
 #ifdef __RESTRICT
 #define restrict _Restrict
 #else

@@ -69,12 +68,10 @@
  *      polynomial is 2**(-27.87).
  *      Maximum error observed: less than 0.534 ulp for the
  *      whole float type range.
  */
 
-#define sqrtf __sqrtf
-
 extern float sqrtf(float);
 
 static const double __TBL_rsqrtf[] = {
 /*
 i = [0,63]

@@ -501,6 +498,5 @@
                 iexp0 += *(int*)&fres0;
                 *(int*)py = iexp0;
                 py += stridey;
         }
 }
-