jart / cosmopolitan

build-once run-anywhere c library
ISC License
18.43k stars 637 forks source link

Make printf %La test-case work properly on AArch64 #1298

Closed GabrielRavier closed 2 months ago

GabrielRavier commented 2 months ago

As the size of long double changes between x86 and AArch64, this results in one of the printf a conversion specifier test-cases getting different output between the two. Note that both outputs (and a few more) are 100% standards-conforming, but the testcase currently only expects a specific one - the one that had been seen on x86 when initially writing the test.

This patch fixes the testcase so it accepts either of those two outputs.

GabrielRavier commented 2 months ago

Ping ?