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,11 @@
 /*
  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma weak asinh = __asinh
+#pragma weak __asinh = asinh
 
 /* INDENT OFF */
 /*
  * asinh(x)
  * Method :

@@ -41,11 +41,10 @@
  *               := sign(x)*log(2|x|+1/(|x|+sqrt(x*x+1))) if|x| > 2, else
  *               := sign(x)*log1p(|x|+x^2/(1+sqrt(1+x^2)))
  */
 /* INDENT ON */
 
-#include "libm_synonyms.h"      /* __asinh */
 #include "libm_macros.h"
 #include <math.h>
 
 static const double xxx[] = {
 /* one */       1.00000000000000000000e+00,     /* 3FF00000, 00000000 */