Re: expm1(3p): Mathematical error in given example

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

 



* Alejandro Colomar <alx.manpages@xxxxxxxxx>, 2021-02-11, 16:49:
In the APPLICATION USAGE section of expm1(3p)[1] the given example is wrong:

===8<=== Snip =========================================

[..] calculations of ((1+x)n-1)/x, namely:

          expm1(n * log1p(x))/x

======== Snap ====================================>8===

Actually, both expressions are not equal, rather

expm1(n * log1p(x))/x = ((1+x)**n - 1)/x

(with a fictional ** as power infix-operator) would be.
[...]
We don't maintain the source of the POSIX manual pages. You could file a bug to the Austin Group.

As Walter noted in another mail, the POSIX sources are correct.

This is a problem with conversion to the man page format, which should be reported here, not to the Austin Group.

--
Jakub Wilk



[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