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

*** 20,29 **** --- 20,30 ---- */ /* * Copyright 2011 Nexenta Systems, Inc. All rights reserved. */ + /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */
*** 71,81 **** */ #include "libm.h" /* for isgreaterequal macro */ float ! __fmaxf(float x, float y) { /* * On SPARC v8plus/v9, this could be implemented as follows * (assuming %f0 = x, %f1 = y, return value left in %f0): * * fcmps %fcc0,%f1,%f1 --- 72,83 ---- */ #include "libm.h" /* for isgreaterequal macro */ float ! __fmaxf(float x, float y) ! { /* * On SPARC v8plus/v9, this could be implemented as follows * (assuming %f0 = x, %f1 = y, return value left in %f0): * * fcmps %fcc0,%f1,%f1
*** 113,122 **** --- 115,125 ---- union { unsigned i; float f; } xx, yy; + unsigned s; /* if y is nan, replace it by x */ if (y != y) y = x;