]> git.ipfire.org Git - thirdparty/gcc.git/commit
AVR: target/120441 - Fix f7_exp for |x| ≥ 512.
authorGeorg-Johann Lay <avr@gjlay.de>
Tue, 27 May 2025 07:43:57 +0000 (09:43 +0200)
committerGeorg-Johann Lay <avr@gjlay.de>
Tue, 27 May 2025 07:55:31 +0000 (09:55 +0200)
commit672569cee76a1927d14b5eb754a5ff0b9cee1bc8
treee57c5c6baffcade8c7f0f8c61b44f66db4810a44
parent447156e4d143d7f513c488dd0b44037524a01fba
AVR: target/120441 - Fix f7_exp for |x| ≥ 512.

f7_exp limited exponents to 512, but 1023 * ln2 ≈ 709,
hence 1024 is a correct limit.

libgcc/config/avr/libf7/
PR target/120441
* libf7.c (f7_exp): Limit aa->expo to 10 (not to 9).
libgcc/config/avr/libf7/libf7.c