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,12 +40,14 @@ */ #include "libm.h" /* for islessequal macro */ double -__fdim(double x, double y) { +__fdim(double x, double y) +{ if (islessequal(x, y)) { x = 0.0; y = -x; } + return (x - y); }