(same) errors in ceil.3, floor.3, rint.3, and round.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Mr. Kerrisk, hello Mr. Colomar,

There are the same errors in ceil.3, floor.3, rint.3, and round.3
within the "NOTES"-section, e.g. floor.3, lines 111 - 115:

...
(More precisely, overflow can happen only when the maximum value
of the exponent is smaller than the number of mantissa bits.
For the IEEE-754 standard 32-bit and 64-bit floating-point numbers
the maximum value of the exponent is 128 (respectively, 1024),
and the number of mantissa bits is 24 (respectively, 53).)
...


1) According to IEEE 754 - 2008 , section 3.3, table 3.2
https://irem.univ-reunion.fr/IMG/pdf/ieee-754-2008.pdf
the value of emax is described as
emax = +127 / +1023

Section "Basic and interchange formats" at
https://en.wikipedia.org/wiki/IEEE_754
states the same values.

Thus, I suggest: line 114

the maximum value of the exponent is 127 (respectively, 1023),



2) To be more precise at line 115, I suggest:

and the number of mantissa bits including the implicit bit is 24 (respectively, 53)



I'm using OpenSUSE 15.3
but the text is identical to the online man-page
https://man7.org/linux/man-pages/man3/floor.3.html
and I just cloned
git clone https://git.kernel.org/pub/scm/docs/man-pages/man-pages
the actual man-pages.


Yours,

Dr. Wolfgang Armbruster




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux