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.
*/
#include "libm.h"
extern double exp10(double);
float
! exp10f(float x) {
#if defined(FPADD_TRAPS_INCOMPLETE_ON_NAN)
if (isnanf(x))
return (x * x);
else
#endif
! return ((float) exp10((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.
*/
#include "libm.h"
extern double exp10(double);
float
! exp10f(float x)
! {
#if defined(FPADD_TRAPS_INCOMPLETE_ON_NAN)
if (isnanf(x))
return (x * x);
else
#endif
! return ((float)exp10((double)x));
}