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

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

 



yes, this is wrong on the webpage but issems a converter bug.
when i look at the page in ascii i see:  ((1+x)**n-1)/x.

the same problem arises on other place like:
These functions shall compute ex-1.0.
should read: e**x-1.0

NTL: thx for info

 wh
________________________________________
Von: xenoantares@xxxxxxx <xenoantares@xxxxxxx>
Gesendet: Donnerstag, 11. Februar 2021 10:59:18
An: mtk.manpages@xxxxxxxxx; alx.manpages@xxxxxxxxx
Cc: linux-man@xxxxxxxxxxxxxxx
Betreff: expm1(3p): Mathematical error in given example

  Hi there!

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.


  Best regards
          -- XA

____
[1] As of version to be found at
    https://man7.org/linux/man-pages/man3/expm1.3p.html
--
XenoAntares





[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