Print this page
11210 libm should be cstyle(1ONBLD) clean

*** 20,50 **** */ /* * Copyright 2011 Nexenta Systems, Inc. All rights reserved. */ /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma weak fmaxl = __fmaxl #include "libm.h" /* for isgreaterequal macro */ long double ! __fmaxl(long double x, long double y) { union { #if defined(__sparc) unsigned i[4]; #elif defined(__x86) unsigned i[3]; #else #error Unknown architecture #endif long double ld; } xx, yy; unsigned s; /* if y is nan, replace it by x */ if (y != y) y = x; --- 20,54 ---- */ /* * Copyright 2011 Nexenta Systems, Inc. All rights reserved. */ + /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma weak fmaxl = __fmaxl #include "libm.h" /* for isgreaterequal macro */ long double ! __fmaxl(long double x, long double y) ! { union { #if defined(__sparc) unsigned i[4]; #elif defined(__x86) unsigned i[3]; #else #error Unknown architecture #endif + long double ld; } xx, yy; + unsigned s; /* if y is nan, replace it by x */ if (y != y) y = x;