[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] log(1.999)
From: |
Dmitry K. |
Subject: |
[avr-libc-dev] log(1.999) |
Date: |
Tue, 10 Jan 2006 08:18:46 +1000 |
User-agent: |
KMail/1.5 |
Hi.
On some values, like 1.99 (3.99 and so on) log() function
give too worse results. For example:
log(1.999) --> 0.693
True value = 0.688
The reason is that the evaluation method is not suitable for
its rigth margin.
To correct this I have add extra polynom for such values.
Size is slightly increase, approx. 20 words.
Possible, it is needed to review all libm's functions.
Dmitry.
- [avr-libc-dev] log(1.999),
Dmitry K. <=