This commit is contained in:
Miloslav Ciz 2025-02-12 23:09:00 +01:00
parent 85321afd67
commit ec4393d204
17 changed files with 1952 additions and 1945 deletions

2
log.md
View file

@ -152,7 +152,7 @@ unsigned int logInt2(unsigned int x)
As always, [look up tables](lut.md) may help create extremely fast versions for the price of some memory.
Mainstream way of implementing [floating point](float.md) logarithm is probably through [Taylor series](taylor_series.md) such as (for natural logarithm):
Mainstream way of implementing [floating point](float.md) logarithm is probably through [Taylor series](taylor_series.md) and similar infinite series such as (for natural logarithm):
*ln(x) = 2 * ((x-1)/(x+1) + 1/3 * ((x-1)/(x+1))^3 + 1/5 * ((x-1)/(x+1))^5 + ...)*