Mercurial > hg > octave-jordi > gnulib-hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
13983:ace70389132d | 13984:75b69112815f |
---|---|
1 # round-ieee.m4 serial 1 | |
2 dnl Copyright (C) 2010 Free Software Foundation, Inc. | |
3 dnl This file is free software; the Free Software Foundation | |
4 dnl gives unlimited permission to copy and/or distribute it, | |
5 dnl with or without modifications, as long as this notice is preserved. | |
6 | |
7 dnl This macro is in a separate file (not in round.m4 and not inlined in the | |
8 dnl module description), so that gl_FUNC_ROUND can test whether 'aclocal' has | |
9 dnl found uses of this macro. | |
10 | |
11 AC_DEFUN([gl_FUNC_ROUND_IEEE], | |
12 [ | |
13 m4_divert_text([INIT_PREPARE], [gl_round_required=ieee]) | |
14 AC_REQUIRE([gl_FUNC_ROUND]) | |
15 ]) |