Commit Graph
2 Commits
Author SHA1 Message Date
Dean Galvin 6de867b36a test(libc): include the libc header instead of redeclaring eleven math exports
GuestMathElementary.cpp declared the exports in a local extern block; they
are declared once, in the library's public header, as GuestMath.cpp uses.
2026-10-27 09:47:16 +13:00
David add8239333 test(libc): cover the elementary math exports no test ran
cbrt, cbrtf, acos, atan, atanf, tan, tanf, log2, log2f, sincos and sincosf had no test that ran them. The test checks exactly representable results, the sign of a zero, the infinities, NaN and the NaN a domain error gives, and values near pi/4 and pi/6 within two units in the last place.
2026-10-22 18:44:58 +04:00