Files
AnyPS5/docs
JJenkxandClaude Opus 5.5 0bb14d3794 fix(libc): compute log10 with fdlibm's algorithm, as titles' libc.prx does
log10 returned the host's log10, whose last bit differs from the titles'
copy on Windows on 3,066,397 of 320 million random arguments. The titles'
copy is the fdlibm e_log10.c over its k_log.h, which FreeBSD 11.4 later
replaced, and it sets EDOM for every nonzero argument with the sign bit set
but leaves errno alone for +-0. log10 now computes that and sets EDOM there.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 08:23:01 -04:00
..