Print this page
11210 libm should be cstyle(1ONBLD) clean
@@ -20,10 +20,11 @@
*/
/*
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
*/
+
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -39,15 +40,17 @@
#include "libm.h" /* for isgreaterequal macro */
#include <fenv.h>
double
-__fmax(double x, double y) {
+__fmax(double x, double y)
+{
union {
unsigned i[2];
double d;
} xx, yy;
+
unsigned s;
/* if y is nan, replace it by x */
if (y != y)
y = x;