diff options
author | Bruno Haible <bruno@clisp.org> | 2010-12-21 14:32:25 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-12-21 17:30:27 +0100 |
commit | f10ca7e0a421ace0dd6124bd8f0ba8e7570ebec3 (patch) | |
tree | 8c8d81065ed3e32e0bb50389674baedd70799e12 /m4/ceilf-ieee.m4 | |
parent | 1d7de2b4c343cfb0eb4d1171acf0877630e32151 (diff) | |
download | gnulib-f10ca7e0a421ace0dd6124bd8f0ba8e7570ebec3.tar.gz |
New module 'ceilf-ieee'.
* modules/ceilf-ieee: New file.
* m4/ceilf.m4 (gl_FUNC_FLOORF): If gl_FUNC_CEILF_IEEE is also used,
test whether ceilf works according to ISO C 99 with IEC 60559.
* m4/ceilf-ieee.m4: New file.
* modules/ceilf-ieee-tests: New file.
* tests/test-ceilf-ieee.c: New file, based on tests/test-ceilf1.c.
* tests/test-ceilf1.c (main): Remove signbit tests.
* modules/ceilf-tests (Depends-on): Remove 'signbit'.
* doc/posix-functions/ceilf.texi: Mention the new module.
Diffstat (limited to 'm4/ceilf-ieee.m4')
-rw-r--r-- | m4/ceilf-ieee.m4 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/m4/ceilf-ieee.m4 b/m4/ceilf-ieee.m4 new file mode 100644 index 0000000000..cdc07c3cfb --- /dev/null +++ b/m4/ceilf-ieee.m4 @@ -0,0 +1,15 @@ +# ceilf-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 ceilf.m4 and not inlined in the +dnl module description), so that gl_FUNC_CEILF can test whether 'aclocal' has +dnl found uses of this macro. + +AC_DEFUN([gl_FUNC_CEILF_IEEE], +[ + m4_divert_text([INIT_PREPARE], [gl_ceilf_required=ieee]) + AC_REQUIRE([gl_FUNC_CEILF]) +]) |