diff options
Diffstat (limited to 'libm/w_exp2.c')
-rw-r--r-- | libm/w_exp2.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libm/w_exp2.c b/libm/w_exp2.c index 604d6ecff..20fb9c28e 100644 --- a/libm/w_exp2.c +++ b/libm/w_exp2.c @@ -1,5 +1,3 @@ - -/* @(#)w_exp2.c 5.1 93/09/24 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. @@ -14,12 +12,7 @@ #include "math.h" #include "math_private.h" -#ifdef __STDC__ - double exp2(double x) -#else - double exp2(x) - double x; -#endif +double exp2(double x) { return pow(2.0, x); } |