X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fsqrtl.c;h=299e70db6046c7bdc33852f4463c81d29d63e2e2;hb=6951841b81058b0dd883fcdeb2be31d6aa8b8658;hp=701ea2c78d8522b14761a5bfb4b6a4384f10d842;hpb=febae7ee2b8b61030ed32d2b5b53316b240434f2;p=pspp diff --git a/lib/sqrtl.c b/lib/sqrtl.c index 701ea2c78d..299e70db60 100644 --- a/lib/sqrtl.c +++ b/lib/sqrtl.c @@ -1,7 +1,7 @@ /* Emulation for sqrtl. Contributed by Paolo Bonzini - Copyright 2002, 2003, 2007 Free Software Foundation, Inc. + Copyright 2002-2003, 2007, 2009-2011 Free Software Foundation, Inc. This file is part of gnulib. @@ -27,7 +27,7 @@ /* A simple Newton-Raphson method. */ long double -sqrtl(long double x) +sqrtl (long double x) { long double delta, y; int exponent; @@ -38,7 +38,7 @@ sqrtl(long double x) /* Check for negative numbers */ if (x < 0.0L) - return (long double) sqrt(-1); + return (long double) sqrt (-1); /* Check for zero and infinites */ if (x + x == x)