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>


  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  24  */
  25 /*
  26  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  27  * Use is subject to license terms.
  28  */
  29 
  30 #pragma weak cacosl = __cacosl
  31 
  32 #include "libm.h"               /* acosl/atanl/fabsl/isinfl/log1pl/logl/sqrtl */
  33 #include "complex_wrapper.h"
  34 #include "longdouble.h"
  35 
  36 /* INDENT OFF */
  37 static const long double
  38 zero = 0.0L,
  39 one = 1.0L,
  40 Acrossover = 1.5L,
  41 Bcrossover = 0.6417L,
  42 half = 0.5L,
  43 ln2 = 6.931471805599453094172321214581765680755e-0001L,
  44 Foursqrtu = 7.3344154702193886624856495681939326638255e-2466L,  /* 2**-8189 */
  45 #if defined(__x86)
  46 E = 5.4210108624275221700372640043497085571289e-20L,            /* 2**-64 */
  47 pi = 3.141592653589793238295968524909085317631252110004425048828125L,
  48 pi_l = 1.666748583704175665659172893706807721468195923078e-19L,
  49 pi_2 = 1.5707963267948966191479842624545426588156260L,
  50 pi_2_l = 8.3337429185208783282958644685340386073409796e-20L,




  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  24  */
  25 /*
  26  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  27  * Use is subject to license terms.
  28  */
  29 
  30 #pragma weak __cacosl = cacosl
  31 
  32 #include "libm.h"               /* acosl/atanl/fabsl/isinfl/log1pl/logl/sqrtl */
  33 #include "complex_wrapper.h"
  34 #include "longdouble.h"
  35 
  36 /* INDENT OFF */
  37 static const long double
  38 zero = 0.0L,
  39 one = 1.0L,
  40 Acrossover = 1.5L,
  41 Bcrossover = 0.6417L,
  42 half = 0.5L,
  43 ln2 = 6.931471805599453094172321214581765680755e-0001L,
  44 Foursqrtu = 7.3344154702193886624856495681939326638255e-2466L,  /* 2**-8189 */
  45 #if defined(__x86)
  46 E = 5.4210108624275221700372640043497085571289e-20L,            /* 2**-64 */
  47 pi = 3.141592653589793238295968524909085317631252110004425048828125L,
  48 pi_l = 1.666748583704175665659172893706807721468195923078e-19L,
  49 pi_2 = 1.5707963267948966191479842624545426588156260L,
  50 pi_2_l = 8.3337429185208783282958644685340386073409796e-20L,