Print this page
11210 libm should be cstyle(1ONBLD) clean
*** 20,41 ****
*/
/*
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
*/
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma weak __asinhf = asinhf
#include "libm.h"
float
! asinhf(float x) {
! if (isnanf(x)) {
return (x * x); /* + -> * for Cheetah */
! } else {
! return ((float) asinh((double) x));
! }
}
--- 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 __asinhf = asinhf
#include "libm.h"
float
! asinhf(float x)
! {
! if (isnanf(x))
return (x * x); /* + -> * for Cheetah */
! else
! return ((float)asinh((double)x));
}