Date: Sat, 2 Dec 2017 00:09:29 +0100 From: Joerg Sonnenberger <jo...@bec.de> Message-ID: <20171201230929.ga13...@britannica.bec.de>
| This is *not* true. With C11 the standard is very explicit that return | must discard excessive precision. Even before, it was implied that there | is an implicit cast. OK, but for this purpose it doesn't really matter - the purpose of the test is not to test the compiler, or floating point arithmetic, but that the locale functions work properly. By all means add more tests that test the compiler, and floating point, and file PRs on bugs they uncover. kre