1. 26 Feb, 2012 3 commits
    • Bruno Haible's avatar
      Refactor frexp*-ieee tests. · 24541cca
      Bruno Haible authored
      * tests/test-frexp-ieee.h: New file.
      * tests/test-frexpf-ieee.c: Include test-frexp-ieee.h.
      (main): Just call test_function.
      * tests/test-frexp-ieee.c: Include test-frexp-ieee.h.
      (main): Just call test_function.
      * tests/test-frexpl-ieee.c: Include test-frexp-ieee.h.
      (main): Just call test_function.
      * modules/frexpf-ieee-tests (Files): Add tests/test-frexp-ieee.h.
      * modules/frexp-ieee-tests (Files): Likewise.
      * modules/frexpl-ieee-tests (Files): Likewise.
    • Bruno Haible's avatar
      Tests for module 'frexpf-ieee'. · 3cd57053
      Bruno Haible authored
      * modules/frexpf-ieee-tests: New file.
      * tests/test-frexpf-ieee.c: New file.
    • Bruno Haible's avatar
      truncf-ieee tests: More tests. · 646c4272
      Bruno Haible authored
      * tests/test-truncf-ieee.c: Include isnanf-nolibm.h, infinity.h, nan.h.
      (main): Add tests for [MX] shaded specification in POSIX.
      * modules/truncf-ieee-tests (Files): Add tests/infinity.h, tests/nan.h.
      (Depends-on): Add isnanf-nolibm.
  2. 21 Dec, 2010 1 commit
    • Bruno Haible's avatar
      New module 'truncf-ieee'. · fdb0fd9e
      Bruno Haible authored
      * modules/truncf-ieee: New file.
      * m4/truncf.m4 (gl_FUNC_TRUNCF): If gl_FUNC_TRUNCF_IEEE is also used,
      test whether truncf works according to ISO C 99 with IEC 60559.
      * m4/truncf-ieee.m4: New file.
      * lib/math.in.h (truncf): Replace if REPLACE_TRUNCF is set.
      * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_TRUNCF.
      * modules/math (Makefile.am): Substitute REPLACE_TRUNCF.
      * modules/truncf-ieee-tests: New file.
      * tests/test-truncf-ieee.c: New file, based on tests/test-truncf1.c.
      * tests/test-truncf1.c (main): Remove signbit tests.
      * modules/truncf-tests (Depends-on): Remove 'signbit'.
      * doc/posix-functions/truncf.texi: Mention the new module.