Mercurial > hg > octave-jordi > gnulib-hg
view m4/round-ieee.m4 @ 13984:75b69112815f
New module 'round-ieee'.
* modules/round-ieee: New file.
* m4/round.m4 (gl_FUNC_ROUND): If gl_FUNC_ROUND_IEEE is also used, test
whether round works according to ISO C 99 with IEC 60559.
* m4/round-ieee.m4: New file.
* modules/round-ieee-tests: New file.
* tests/test-round-ieee.c: New file, based on tests/test-roundf-ieee.c.
* tests/test-round1.c (main): Remove signbit tests.
* modules/round-tests (Depends-on): Remove 'signbit'.
* doc/posix-functions/round.texi: Mention the new module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 21 Dec 2010 18:55:59 +0100 |
parents | |
children | 97fc9a21a8fb |
line wrap: on
line source
# round-ieee.m4 serial 1 dnl Copyright (C) 2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This macro is in a separate file (not in round.m4 and not inlined in the dnl module description), so that gl_FUNC_ROUND can test whether 'aclocal' has dnl found uses of this macro. AC_DEFUN([gl_FUNC_ROUND_IEEE], [ m4_divert_text([INIT_PREPARE], [gl_round_required=ieee]) AC_REQUIRE([gl_FUNC_ROUND]) ])