Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/tests/lib/libc/locale



    Date:        Sat, 2 Dec 2017 00:09:29 +0100
    From:        Joerg Sonnenberger <joerg%bec.de@localhost>
    Message-ID:  <20171201230929.GA13668%britannica.bec.de@localhost>

  | 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



Home | Main Index | Thread Index | Old Index