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

*** 20,41 **** */ /* * Copyright 2011 Nexenta Systems, Inc. All rights reserved. */ /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #include "libm.h" long double ! __poly_libmq(long double x, int n, const long double p[]) { long double t; int i; t = p[n - 1]; for (i = n - 2; i >= 0; i--) t = p[i] + x * t; return (t); } --- 20,45 ---- */ /* * Copyright 2011 Nexenta Systems, Inc. All rights reserved. */ + /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #include "libm.h" long double ! __poly_libmq(long double x, int n, const long double p[]) ! { long double t; int i; t = p[n - 1]; + for (i = n - 2; i >= 0; i--) t = p[i] + x * t; + return (t); }