Print this page
11210 libm should be cstyle(1ONBLD) clean
*** 20,42 ****
*/
/*
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
*/
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma weak __expm1f = expm1f
#include "libm.h"
float
! expm1f(float x) {
#if defined(FPADD_TRAPS_INCOMPLETE_ON_NAN)
if (isnanf(x))
return (x * x);
else
#endif
! return ((float) expm1((double) x));
}
--- 20,44 ----
*/
/*
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
*/
+
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma weak __expm1f = expm1f
#include "libm.h"
float
! expm1f(float x)
! {
#if defined(FPADD_TRAPS_INCOMPLETE_ON_NAN)
if (isnanf(x))
return (x * x);
else
#endif
! return ((float)expm1((double)x));
}