summaryrefslogtreecommitdiff
path: root/lib/msun/src/e_scalb.c
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2005-02-04 18:26:06 +0000
committerDavid Schultz <das@FreeBSD.org>2005-02-04 18:26:06 +0000
commit3f70824172feb82ea3dcdb3866b54fe0eb7cd890 (patch)
tree358c37c6dfb32659eea19d2a72397142931bc562 /lib/msun/src/e_scalb.c
parent26d5f7dfa79eda34d809c8166ecc56028583c7e8 (diff)
Notes
Diffstat (limited to 'lib/msun/src/e_scalb.c')
-rw-r--r--lib/msun/src/e_scalb.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/msun/src/e_scalb.c b/lib/msun/src/e_scalb.c
index 6553d50b2fb9..f7d46d0816a0 100644
--- a/lib/msun/src/e_scalb.c
+++ b/lib/msun/src/e_scalb.c
@@ -1,11 +1,12 @@
-/* @(#)e_scalb.c 5.1 93/09/24 */
+
+/* @(#)e_scalb.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
- * Developed at SunPro, a Sun Microsystems, Inc. business.
+ * Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
- * software is freely granted, provided that this notice
+ * software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
@@ -16,7 +17,7 @@ static char rcsid[] = "$FreeBSD$";
/*
* __ieee754_scalb(x, fn) is provide for
- * passing various standard test suite. One
+ * passing various standard test suite. One
* should use scalbn() instead.
*/
@@ -34,7 +35,7 @@ __ieee754_scalb(double x, double fn)
#ifdef _SCALB_INT
return scalbn(x,fn);
#else
- if ((isnan)(x)||(isnan)(fn)) return x*fn;
+ if (isnan(x)||isnan(fn)) return x*fn;
if (!finite(fn)) {
if(fn>0.0) return x*fn;
else return x/(-fn);