Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/math/w_exp2.c')
-rw-r--r--newlib/libm/math/w_exp2.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/newlib/libm/math/w_exp2.c b/newlib/libm/math/w_exp2.c
index ed0bc39e9..efb676df1 100644
--- a/newlib/libm/math/w_exp2.c
+++ b/newlib/libm/math/w_exp2.c
@@ -13,7 +13,7 @@
/*
FUNCTION
- <<exp2>>, <<exp2f>>---exponential
+ <<exp2>>, <<exp2f>>--exponential, base 2
INDEX
exp2
INDEX
@@ -24,14 +24,6 @@ ANSI_SYNOPSIS
double exp2(double <[x]>);
float exp2f(float <[x]>);
-TRAD_SYNOPSIS
- #include <math.h>
- double exp2(<[x]>);
- double <[x]>;
-
- float exp2f(<[x]>);
- float <[x]>;
-
DESCRIPTION
<<exp2>> and <<exp2f>> calculate 2 ^ <[x]>, that is,
@ifnottex
@@ -50,6 +42,9 @@ RETURNS
result overflows, the returned value is <<HUGE_VAL>>. In
either case, <<errno>> is set to <<ERANGE>>.
+PORTABILITY
+ ANSI C, POSIX.
+
*/
/*