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

*** 16,50 **** * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright 2011 Nexenta Systems, Inc. All rights reserved. */ /* * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma weak __lgamma_r = lgamma_r #include "libm.h" double ! lgamma_r(double x, int *signgamp) { double g; if (isnan(x)) return (x * x); g = rint(x); if (x == g && x <= 0.0) { *signgamp = 1; return (_SVID_libm_err(x, x, 15)); } g = __k_lgamma(x, signgamp); if (!finite(g)) g = _SVID_libm_err(x, x, 14); return (g); } --- 16,56 ---- * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ + /* * Copyright 2011 Nexenta Systems, Inc. All rights reserved. */ + /* * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma weak __lgamma_r = lgamma_r #include "libm.h" double ! lgamma_r(double x, int *signgamp) ! { double g; if (isnan(x)) return (x * x); g = rint(x); + if (x == g && x <= 0.0) { *signgamp = 1; return (_SVID_libm_err(x, x, 15)); } g = __k_lgamma(x, signgamp); + if (!finite(g)) g = _SVID_libm_err(x, x, 14); + return (g); }