diff options
Diffstat (limited to 'lib/msun/src/s_cbrt.c')
-rw-r--r-- | lib/msun/src/s_cbrt.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/msun/src/s_cbrt.c b/lib/msun/src/s_cbrt.c index 0e609e110d9a..6bf84243adcd 100644 --- a/lib/msun/src/s_cbrt.c +++ b/lib/msun/src/s_cbrt.c @@ -1,4 +1,3 @@ -/* @(#)s_cbrt.c 5.1 93/09/24 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. @@ -12,9 +11,6 @@ * Optimized by Bruce D. Evans. */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #include <float.h> #include "math.h" #include "math_private.h" @@ -108,7 +104,7 @@ cbrt(double x) r=x/s; /* error <= 0.5 ulps; |r| < |t| */ w=t+t; /* t+t is exact */ r=(r-t)/(w+r); /* r-t is exact; w+r ~= 3*t */ - t=t+t*r; /* error <= 0.5 + 0.5/3 + epsilon */ + t=t+t*r; /* error <= (0.5 + 0.5/3) * ulp */ return(t); } |