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 __significandf = significandf
#include "libm.h"
float
! significandf(float x) {
! int ix = *(int *) &x & ~0x80000000;
if (ix == 0 || ix >= 0x7f800000) /* 0/+-Inf/NaN */
#if defined(FPADD_TRAPS_INCOMPLETE_ON_NAN)
return (ix > 0x7f800000 ? x * x : x);
#else
--- 20,43 ----
*/
/*
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
*/
+
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma weak __significandf = significandf
#include "libm.h"
float
! significandf(float x)
! {
! int ix = *(int *)&x & ~0x80000000;
if (ix == 0 || ix >= 0x7f800000) /* 0/+-Inf/NaN */
#if defined(FPADD_TRAPS_INCOMPLETE_ON_NAN)
return (ix > 0x7f800000 ? x * x : x);
#else