1. 01 Jan, 2014 1 commit
  2. 01 Jan, 2013 1 commit
  3. 26 Feb, 2012 8 commits
  4. 01 Jan, 2012 1 commit
  5. 01 Jan, 2011 1 commit
  6. 22 Dec, 2010 1 commit
    • Bruno Haible's avatar
      trunc: Implement result sign according to IEEE 754. · 7d056a37
      Bruno Haible authored
      * lib/trunc.c (MIN, MINUS_ZERO): New macros.
      (FUNC): Return +0.0 for 0 < x < 1 and -0.0 for -1 < x < 0.
      * tests/test-trunc2.c: Include minus-zero.h.
      (MINUS_ZERO): New macro.
      (trunc_reference): Keep in sync with lib/trunc.c.
      * tests/test-truncf2.c: Include minus-zero.h.
      (MINUS_ZERO): New macro.
      (truncf_reference): Keep in sync with lib/trunc.c.
      * tests/test-truncf-ieee.c (main): Test also values between -1 and 1.
      * tests/test-trunc-ieee.c (main): Likewise.
      * tests/test-truncl-ieee.c (main): Likewise.
      7d056a37
  7. 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.
      fdb0fd9e
  8. 10 Jan, 2010 3 commits
  9. 01 Jan, 2010 1 commit
  10. 24 Dec, 2009 1 commit
  11. 10 Dec, 2009 1 commit
  12. 11 Apr, 2008 1 commit
  13. 07 Oct, 2007 1 commit
  14. 29 Apr, 2007 1 commit
  15. 18 Feb, 2007 2 commits
  16. 14 Sep, 2006 1 commit
  17. 28 Aug, 2006 1 commit
  18. 19 Sep, 2005 1 commit
    • Paul Eggert's avatar
      Use a consistent style for including <config.h>. · 222b0486
      Paul Eggert authored
      * __fpending.c, acl.c, argmatch.c,
      argp-help.c, argp-parse.c,
      argp-pvh.c, backupfile.c, basename.c, c-stack.c,
      calloc.c, check-version.c, cloexec.c, closeout.c, copy-file.c,
      creat-safer.c, cycle-check.c, dirfd.c, dirname.c, dup-safer.c,
      dup2.c, euidaccess.c, exclude.c, exitfail.c, fatal-signal.c,
      fd-safer.c, file-type.c, fileblocks.c, filemode.c,
      filenamecat.c, findprog.c, fnmatch.c, fopen-safer.c, free.c,
      fsusage.c, ftruncate.c, full-write.c, fwriteerror.c,
      getaddrinfo.c, getcwd.c, getdelim.c, getline.c, getlogin_r.c,
      getndelim2.c, getnline.c, getopt1.c, getpass.c, group-member.c,
      hard-locale.c, hash-pjw.c, hash.c, human.c, idcache.c,
      inet_ntop.c, isdir.c, long-options.c, malloc.c, memcasecmp.c,
      memcmp.c, memcoll.c, memcpy.c, memmove.c, mkdir-p.c,
      modechange.c, mountlist.c, open-safer.c, physmem.c,
      pipe-safer.c, pipe.c, poll.c, posixver.c, progname.c,
      progreloc.c, putenv.c, quote.c, quotearg.c, readline.c,
      readlink.c, realloc.c, regex.c, rename.c, rmdir.c, rpmatch.c,
      safe-read.c, same.c, save-cwd.c, savedir.c, sig2str.c,
      strcspn.c, strerror.c, stripslash.c, strncasecmp.c, strndup.c,
      strnlen.c, strnlen1.c, strsep.c, strstr.c, strtod.c,
      strtoimax.c, strtol.c, strverscmp.c, tempname.c, time_r.c,
      userspec.c, utimecmp.c, version-etc-fsf.c,
      version-etc.c, wait-process.c, xalloc-die.c, xgetcwd.c,
      xmalloc.c, xmemcoll.c, xnanosleep.c, xreadlink.c, xsetenv.c,
      xstrndup.c, xstrtoimax.c, xstrtol.c, xstrtoumax.c, yesno.c:
      Standardize inclusion of config.h.
      * __fpending.h, dirfd.h, getdate.h, human.h,
      inttostr.h:  Removed inclusion of config.h from header files.
      * inttostr.c:  Adjusted in-tree users.
      * timespec.h: Remove superfluous warning to include config.h.
      * atexit.c, chdir-long.c chown.c, fchown-stub.c, getgroups.c,
      gettimeofday.c, lchown.c, lstat.c, mkdir.c, mkstemp.c,
      nanosleep.c, openat.c, raise.c, readtokens0.c, readutmp.c,
      unlinkdir.c: Guard inclusion of config.h with HAVE_CONFIG_H.
      222b0486
  19. 14 May, 2005 1 commit
  20. 03 Nov, 2001 1 commit
  21. 02 Nov, 2001 1 commit
  22. 01 Nov, 2001 3 commits
  23. 26 Aug, 2000 3 commits
  24. 25 Aug, 2000 2 commits