Print this page
11210 libm should be cstyle(1ONBLD) clean
*** 16,44 ****
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
*/
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma weak __sqrt = sqrt
#include "libm.h"
-
extern double __inline_sqrt(double);
double
! sqrt(double x) {
double z = __inline_sqrt(x);
if (isnan(x))
return (z);
- return ((x < 0.0)? _SVID_libm_err(x, x, 26) : z);
- }
--- 16,46 ----
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
+
/*
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
*/
+
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma weak __sqrt = sqrt
#include "libm.h"
extern double __inline_sqrt(double);
double
! sqrt(double x)
! {
double z = __inline_sqrt(x);
if (isnan(x))
return (z);
+ return ((x < 0.0) ? _SVID_libm_err(x, x, 26) : z);
+ }