Print this page
11210 libm should be cstyle(1ONBLD) clean
@@ -20,21 +20,23 @@
*/
/*
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
*/
+
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma weak __copysignf = copysignf
#include "libm.h"
float
-copysignf(float x, float y) {
+copysignf(float x, float y)
+{
float w;
- *(int *) &w = (*(int *) &x & ~0x80000000) | (*(int *) &y & 0x80000000);
+ *(int *)&w = (*(int *)&x & ~0x80000000) | (*(int *)&y & 0x80000000);
return (w);
}