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 __tanhf = tanhf #include "libm.h" float ! tanhf(float x) { #if defined(FPADD_TRAPS_INCOMPLETE_ON_NAN) if (isnanf(x)) return (x * x); else #endif ! return ((float) tanh((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 __tanhf = tanhf #include "libm.h" float ! tanhf(float x) ! { #if defined(FPADD_TRAPS_INCOMPLETE_ON_NAN) if (isnanf(x)) return (x * x); else #endif ! return ((float)tanh((double)x)); }