Print this page
5261 libm should stop using synonyms.h
*** 25,36 ****
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
! #pragma weak erf = __erf
! #pragma weak erfc = __erfc
/* INDENT OFF */
/*
* double erf(double x)
* double erfc(double x)
--- 25,36 ----
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
! #pragma weak __erf = erf
! #pragma weak __erfc = erfc
/* INDENT OFF */
/*
* double erf(double x)
* double erfc(double x)
*** 125,135 ****
* erfc(0) = 1, erfc(inf) = 0, erfc(-inf) = 2,
* erfc/erf(NaN) is NaN
*/
/* INDENT ON */
- #include "libm_synonyms.h" /* __erf, __erfc, __exp */
#include "libm_macros.h"
#include <math.h>
static const double xxx[] = {
/* tiny */ 1e-300,
--- 125,134 ----