summary refs log tree commit diff
path: root/manual/arith.texi
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-02-11 14:12:47 -0800
committerRoland McGrath <roland@hack.frob.com>2013-02-11 14:16:43 -0800
commit8ded91fb377ad48c66e8b44929af7214f40f3557 (patch)
tree1500db52510dba70137440de0b3635d75a8e91fa /manual/arith.texi
parentfe77fe6d5155d224edfebbccdbfbc68f62e750dc (diff)
downloadglibc-8ded91fb377ad48c66e8b44929af7214f40f3557.tar.gz
glibc-8ded91fb377ad48c66e8b44929af7214f40f3557.tar.xz
glibc-8ded91fb377ad48c66e8b44929af7214f40f3557.zip
Fix some errors in declarations in the manual.
Diffstat (limited to 'manual/arith.texi')
-rw-r--r--manual/arith.texi14
1 files changed, 7 insertions, 7 deletions
diff --git a/manual/arith.texi b/manual/arith.texi
index f387c8f1ad..faf25cc42a 100644
--- a/manual/arith.texi
+++ b/manual/arith.texi
@@ -1086,7 +1086,7 @@ operation was successful, @code{-1} otherwise.
 
 @comment fenv.h
 @comment GNU
-@deftypefun int fegetexcept (int @var{excepts})
+@deftypefun int fegetexcept (void)
 The function returns a bitmask of all currently enabled exceptions.  It
 returns @code{-1} in case of failure.
 @end deftypefun
@@ -1248,13 +1248,13 @@ equivalent to those of @code{ldexp} and @code{frexp}.  See also the
 
 @comment math.h
 @comment BSD
-@deftypefun double scalb (double @var{value}, int @var{exponent})
+@deftypefun double scalb (double @var{value}, double @var{exponent})
 @comment math.h
 @comment BSD
-@deftypefunx float scalbf (float @var{value}, int @var{exponent})
+@deftypefunx float scalbf (float @var{value}, float @var{exponent})
 @comment math.h
 @comment BSD
-@deftypefunx {long double} scalbl (long double @var{value}, int @var{exponent})
+@deftypefunx {long double} scalbl (long double @var{value}, long double @var{exponent})
 The @code{scalb} function is the BSD name for @code{ldexp}.
 @end deftypefun
 
@@ -1286,13 +1286,13 @@ The @code{scalb} function is the BSD name for @code{ldexp}.
 
 @comment math.h
 @comment BSD
-@deftypefun {long long int} significand (double @var{x})
+@deftypefun double significand (double @var{x})
 @comment math.h
 @comment BSD
-@deftypefunx {long long int} significandf (float @var{x})
+@deftypefunx float significandf (float @var{x})
 @comment math.h
 @comment BSD
-@deftypefunx {long long int} significandl (long double @var{x})
+@deftypefunx {long double} significandl (long double @var{x})
 @code{significand} returns the mantissa of @var{x} scaled to the range
 @math{[1, 2)}.
 It is equivalent to @w{@code{scalb (@var{x}, (double) -ilogb (@var{x}))}}.