annotate modules/math @ 16530:3cae6aa4577f

hypot-ieee: Work around test failure on OSF/1 and native Windows. * lib/math.in.h (hypot): New declaration. * lib/hypot.c: New file. * m4/hypot-ieee.m4: New file. * m4/hypot.m4 (gl_FUNC_HYPOT): If gl_FUNC_HYPOT_IEEE is present, test whether hypot works with mixed NaN and Infinity arguments. Replace it if not. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_HYPOT, REPLACE_HYPOT. * modules/math (Makefile.am): Substitute GNULIB_HYPOT, REPLACE_HYPOT. * modules/hypot (Files): Add lib/hypot.c. (Depends-on): Add dependencies. (configure.ac): Arrange to compile replacement if REPLACE_HYPOT is 1. * modules/hypot-ieee (Files): Add m4/hypot-ieee.m4. (configure.ac): Invoke gl_FUNC_HYPOT_IEEE. * tests/test-math-c++.cc: Check the declaration of hypot. * doc/posix-functions/hypot.texi: Mention the hypot-ieee module.
author Bruno Haible <bruno@clisp.org>
date Wed, 29 Feb 2012 20:00:38 +0100
parents 52c75970f518
children 1fcd2cd248a9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8186
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 A GNU-like <math.h>.
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
9255
590a8ac4bca4 Rename math_.h to math.in.h.
Bruno Haible <bruno@clisp.org>
parents: 8995
diff changeset
5 lib/math.in.h
8186
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 m4/math_h.m4
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 Depends-on:
8995
1025663f7658 * m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
Paul Eggert <eggert@cs.ucla.edu>
parents: 8819
diff changeset
9 include_next
15415
768296dab89a Rename module 'arg-nonnull' to 'snippet/arg-nonnull'.
Bruno Haible <bruno@clisp.org>
parents: 14894
diff changeset
10 snippet/arg-nonnull
15416
10b35faca629 Rename module 'c++defs' to 'snippet/c++defs'.
Bruno Haible <bruno@clisp.org>
parents: 15415
diff changeset
11 snippet/c++defs
15419
d2437ed29d20 Rename module 'warn-on-use' to 'snippet/warn-on-use'.
Bruno Haible <bruno@clisp.org>
parents: 15416
diff changeset
12 snippet/warn-on-use
15803
ec6332cd8838 float, math: Fix 'int' to 'long double' conversion on Linux/SPARC64.
Bruno Haible <bruno@clisp.org>
parents: 15419
diff changeset
13 float
8186
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 configure.ac:
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 gl_MATH_H
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 Makefile.am:
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 BUILT_SOURCES += math.h
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 # We need the following in order to create <math.h> when the system
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 # doesn't have one that works with the given compiler.
14527
049942251f65 Ensure to rebuild generated .h files when config.status has changed.
Bruno Haible <bruno@clisp.org>
parents: 14316
diff changeset
23 math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 11583
diff changeset
24 $(AM_V_GEN)rm -f $@-t $@ && \
8186
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
14840
5f709022a256 Allow multiple gnulib generated include files to be combined.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
26 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
5f709022a256 Allow multiple gnulib generated include files to be combined.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
27 -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
10375
f96e845fc36d Avoid some "gcc -pedantic" warnings.
Bruno Haible <bruno@clisp.org>
parents: 10287
diff changeset
28 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
13761
a19ace3ba849 Avoid line length limitation from HP NonStop system header files.
Bruno Haible <bruno@clisp.org>
parents: 13288
diff changeset
29 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
11583
dc80f2cc1327 Second attempt to work around an AIX 5.3, 6.1 compiler bug with include_next.
Eric Blake <ebb9@byu.net>
parents: 10836
diff changeset
30 -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
15884
c46fa8f14280 New module 'acosf'.
Bruno Haible <bruno@clisp.org>
parents: 15881
diff changeset
31 -e 's/@''GNULIB_ACOSF''@/$(GNULIB_ACOSF)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
32 -e 's/@''GNULIB_ACOSL''@/$(GNULIB_ACOSL)/g' \
15881
8ff52f1384c6 New module 'asinf'.
Bruno Haible <bruno@clisp.org>
parents: 15878
diff changeset
33 -e 's/@''GNULIB_ASINF''@/$(GNULIB_ASINF)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
34 -e 's/@''GNULIB_ASINL''@/$(GNULIB_ASINL)/g' \
15887
89c762414427 New module 'atanf'.
Bruno Haible <bruno@clisp.org>
parents: 15884
diff changeset
35 -e 's/@''GNULIB_ATANF''@/$(GNULIB_ATANF)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
36 -e 's/@''GNULIB_ATANL''@/$(GNULIB_ATANL)/g' \
15890
52fb6ed99832 New module 'atan2f'.
Bruno Haible <bruno@clisp.org>
parents: 15887
diff changeset
37 -e 's/@''GNULIB_ATAN2F''@/$(GNULIB_ATAN2F)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
38 -e 's/@''GNULIB_CEIL''@/$(GNULIB_CEIL)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
39 -e 's/@''GNULIB_CEILF''@/$(GNULIB_CEILF)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
40 -e 's/@''GNULIB_CEILL''@/$(GNULIB_CEILL)/g' \
15908
2f40da163bc2 copysign: Provide replacement.
Bruno Haible <bruno@clisp.org>
parents: 15899
diff changeset
41 -e 's/@''GNULIB_COPYSIGN''@/$(GNULIB_COPYSIGN)/g' \
15911
bc21ee3c09aa New module 'copysignf'.
Bruno Haible <bruno@clisp.org>
parents: 15908
diff changeset
42 -e 's/@''GNULIB_COPYSIGNF''@/$(GNULIB_COPYSIGNF)/g' \
15913
adefeca52f7d New module 'copysignl'.
Bruno Haible <bruno@clisp.org>
parents: 15911
diff changeset
43 -e 's/@''GNULIB_COPYSIGNL''@/$(GNULIB_COPYSIGNL)/g' \
15875
7eede30e6658 New module 'cosf'.
Bruno Haible <bruno@clisp.org>
parents: 15872
diff changeset
44 -e 's/@''GNULIB_COSF''@/$(GNULIB_COSF)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
45 -e 's/@''GNULIB_COSL''@/$(GNULIB_COSL)/g' \
15896
df1794ad8606 New module 'coshf'.
Bruno Haible <bruno@clisp.org>
parents: 15893
diff changeset
46 -e 's/@''GNULIB_COSHF''@/$(GNULIB_COSHF)/g' \
15860
e6ff40a73d85 New module 'expf'.
Bruno Haible <bruno@clisp.org>
parents: 15857
diff changeset
47 -e 's/@''GNULIB_EXPF''@/$(GNULIB_EXPF)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
48 -e 's/@''GNULIB_EXPL''@/$(GNULIB_EXPL)/g' \
15828
36ce57192e3b New module 'fabsf'.
Bruno Haible <bruno@clisp.org>
parents: 15803
diff changeset
49 -e 's/@''GNULIB_FABSF''@/$(GNULIB_FABSF)/g' \
16405
e393287b3d95 New module 'fabsl'.
Bruno Haible <bruno@clisp.org>
parents: 16042
diff changeset
50 -e 's/@''GNULIB_FABSL''@/$(GNULIB_FABSL)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
51 -e 's/@''GNULIB_FLOOR''@/$(GNULIB_FLOOR)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
52 -e 's/@''GNULIB_FLOORF''@/$(GNULIB_FLOORF)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
53 -e 's/@''GNULIB_FLOORL''@/$(GNULIB_FLOORL)/g' \
16038
8f14d00d6f24 New module 'fma'.
Bruno Haible <bruno@clisp.org>
parents: 15920
diff changeset
54 -e 's/@''GNULIB_FMA''@/$(GNULIB_FMA)/g' \
16040
b8acd8099b25 New module 'fmaf'.
Bruno Haible <bruno@clisp.org>
parents: 16038
diff changeset
55 -e 's/@''GNULIB_FMAF''@/$(GNULIB_FMAF)/g' \
16042
40ce19578aff New module 'fmal'.
Bruno Haible <bruno@clisp.org>
parents: 16040
diff changeset
56 -e 's/@''GNULIB_FMAL''@/$(GNULIB_FMAL)/g' \
16486
8b3ead70232c fmod-ieee: Work around test failures on OSF/1, mingw.
Bruno Haible <bruno@clisp.org>
parents: 16471
diff changeset
57 -e 's/@''GNULIB_FMOD''@/$(GNULIB_FMOD)/g' \
15832
022f031c4bdf New module 'fmodf'.
Bruno Haible <bruno@clisp.org>
parents: 15828
diff changeset
58 -e 's/@''GNULIB_FMODF''@/$(GNULIB_FMODF)/g' \
16410
7a80e494e5e8 New module 'fmodl'.
Bruno Haible <bruno@clisp.org>
parents: 16408
diff changeset
59 -e 's/@''GNULIB_FMODL''@/$(GNULIB_FMODL)/g' \
15841
d26d12e238e1 New module 'frexpf'.
Bruno Haible <bruno@clisp.org>
parents: 15838
diff changeset
60 -e 's/@''GNULIB_FREXPF''@/$(GNULIB_FREXPF)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
61 -e 's/@''GNULIB_FREXP''@/$(GNULIB_FREXP)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
62 -e 's/@''GNULIB_FREXPL''@/$(GNULIB_FREXPL)/g' \
16530
3cae6aa4577f hypot-ieee: Work around test failure on OSF/1 and native Windows.
Bruno Haible <bruno@clisp.org>
parents: 16519
diff changeset
63 -e 's/@''GNULIB_HYPOT''@/$(GNULIB_HYPOT)/g' \
16514
befd75611259 New module 'hypotf'.
Bruno Haible <bruno@clisp.org>
parents: 16499
diff changeset
64 -e 's/@''GNULIB_HYPOTF''@/$(GNULIB_HYPOTF)/g' \
16519
52c75970f518 New module 'hypotl'.
Bruno Haible <bruno@clisp.org>
parents: 16514
diff changeset
65 -e 's/@''GNULIB_HYPOTL''@/$(GNULIB_HYPOTL)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
66 -e 's/@''GNULIB_ISFINITE''@/$(GNULIB_ISFINITE)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
67 -e 's/@''GNULIB_ISINF''@/$(GNULIB_ISINF)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
68 -e 's/@''GNULIB_ISNAN''@/$(GNULIB_ISNAN)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
69 -e 's/@''GNULIB_ISNANF''@/$(GNULIB_ISNANF)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
70 -e 's/@''GNULIB_ISNAND''@/$(GNULIB_ISNAND)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
71 -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \
15847
cd98f212217e New module 'ldexpf'.
Bruno Haible <bruno@clisp.org>
parents: 15845
diff changeset
72 -e 's/@''GNULIB_LDEXPF''@/$(GNULIB_LDEXPF)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
73 -e 's/@''GNULIB_LDEXPL''@/$(GNULIB_LDEXPL)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
74 -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \
15863
c2fa2febdb1f New module 'logf'.
Bruno Haible <bruno@clisp.org>
parents: 15860
diff changeset
75 -e 's/@''GNULIB_LOGF''@/$(GNULIB_LOGF)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
76 -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \
15866
215da3b412e0 New module 'log10f'.
Bruno Haible <bruno@clisp.org>
parents: 15863
diff changeset
77 -e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \
16419
271a263949d9 New module 'log10l'.
Bruno Haible <bruno@clisp.org>
parents: 16415
diff changeset
78 -e 's/@''GNULIB_LOG10L''@/$(GNULIB_LOG10L)/g' \
16467
c5b61bdb6da4 modf-ieee: Work around test failures on *BSD, IRIX, OSF/1, Cygwin.
Bruno Haible <bruno@clisp.org>
parents: 16419
diff changeset
79 -e 's/@''GNULIB_MODF''@/$(GNULIB_MODF)/g' \
15838
0e07b354626a New module 'modff'.
Bruno Haible <bruno@clisp.org>
parents: 15832
diff changeset
80 -e 's/@''GNULIB_MODFF''@/$(GNULIB_MODFF)/g' \
16408
b895d48831cd New module 'modfl'.
Bruno Haible <bruno@clisp.org>
parents: 16405
diff changeset
81 -e 's/@''GNULIB_MODFL''@/$(GNULIB_MODFL)/g' \
15869
7fb8367bf966 New module 'powf'.
Bruno Haible <bruno@clisp.org>
parents: 15866
diff changeset
82 -e 's/@''GNULIB_POWF''@/$(GNULIB_POWF)/g' \
16412
a50ff00ce4ee remainder: Support for MSVC.
Bruno Haible <bruno@clisp.org>
parents: 16410
diff changeset
83 -e 's/@''GNULIB_REMAINDER''@/$(GNULIB_REMAINDER)/g' \
16413
3a9564d7a3a5 New module 'remainderf'.
Bruno Haible <bruno@clisp.org>
parents: 16412
diff changeset
84 -e 's/@''GNULIB_REMAINDERF''@/$(GNULIB_REMAINDERF)/g' \
16415
7dac4948337f New module 'remainderl'.
Bruno Haible <bruno@clisp.org>
parents: 16413
diff changeset
85 -e 's/@''GNULIB_REMAINDERL''@/$(GNULIB_REMAINDERL)/g' \
15917
2a90104cab5b rint: Support for MSVC.
Bruno Haible <bruno@clisp.org>
parents: 15913
diff changeset
86 -e 's/@''GNULIB_RINT''@/$(GNULIB_RINT)/g' \
15918
1ffbb15d4325 New module 'rintf'.
Bruno Haible <bruno@clisp.org>
parents: 15917
diff changeset
87 -e 's/@''GNULIB_RINTF''@/$(GNULIB_RINTF)/g' \
15920
44844e6a23a1 New module 'rintl'.
Bruno Haible <bruno@clisp.org>
parents: 15918
diff changeset
88 -e 's/@''GNULIB_RINTL''@/$(GNULIB_RINTL)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
89 -e 's/@''GNULIB_ROUND''@/$(GNULIB_ROUND)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
90 -e 's/@''GNULIB_ROUNDF''@/$(GNULIB_ROUNDF)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
91 -e 's/@''GNULIB_ROUNDL''@/$(GNULIB_ROUNDL)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
92 -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \
15872
83e1d08997e4 New module 'sinf'.
Bruno Haible <bruno@clisp.org>
parents: 15869
diff changeset
93 -e 's/@''GNULIB_SINF''@/$(GNULIB_SINF)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
94 -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \
15893
792aac7b45c4 New module 'sinhf'.
Bruno Haible <bruno@clisp.org>
parents: 15890
diff changeset
95 -e 's/@''GNULIB_SINHF''@/$(GNULIB_SINHF)/g' \
15857
6b8400199763 New module 'sqrtf'.
Bruno Haible <bruno@clisp.org>
parents: 15847
diff changeset
96 -e 's/@''GNULIB_SQRTF''@/$(GNULIB_SQRTF)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
97 -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \
15878
c0c190f3cccb New module 'tanf'.
Bruno Haible <bruno@clisp.org>
parents: 15875
diff changeset
98 -e 's/@''GNULIB_TANF''@/$(GNULIB_TANF)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
99 -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \
15899
31b76bf2f9e4 New module 'tanhf'.
Bruno Haible <bruno@clisp.org>
parents: 15896
diff changeset
100 -e 's/@''GNULIB_TANHF''@/$(GNULIB_TANHF)/g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
101 -e 's/@''GNULIB_TRUNC''@/$(GNULIB_TRUNC)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
102 -e 's/@''GNULIB_TRUNCF''@/$(GNULIB_TRUNCF)/g' \
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
103 -e 's/@''GNULIB_TRUNCL''@/$(GNULIB_TRUNCL)/g' \
14316
6f2788453d27 Split large sed scripts, for HP-UX sed.
Bruno Haible <bruno@clisp.org>
parents: 14273
diff changeset
104 < $(srcdir)/math.in.h | \
15884
c46fa8f14280 New module 'acosf'.
Bruno Haible <bruno@clisp.org>
parents: 15881
diff changeset
105 sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \
c46fa8f14280 New module 'acosf'.
Bruno Haible <bruno@clisp.org>
parents: 15881
diff changeset
106 -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
15881
8ff52f1384c6 New module 'asinf'.
Bruno Haible <bruno@clisp.org>
parents: 15878
diff changeset
107 -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \
12752
73d9dd27dc41 New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents: 12726
diff changeset
108 -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
15887
89c762414427 New module 'atanf'.
Bruno Haible <bruno@clisp.org>
parents: 15884
diff changeset
109 -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \
12752
73d9dd27dc41 New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents: 12726
diff changeset
110 -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
15890
52fb6ed99832 New module 'atan2f'.
Bruno Haible <bruno@clisp.org>
parents: 15887
diff changeset
111 -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \
15908
2f40da163bc2 copysign: Provide replacement.
Bruno Haible <bruno@clisp.org>
parents: 15899
diff changeset
112 -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \
15911
bc21ee3c09aa New module 'copysignf'.
Bruno Haible <bruno@clisp.org>
parents: 15908
diff changeset
113 -e 's|@''HAVE_COPYSIGNF''@|$(HAVE_COPYSIGNF)|g' \
15913
adefeca52f7d New module 'copysignl'.
Bruno Haible <bruno@clisp.org>
parents: 15911
diff changeset
114 -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \
15875
7eede30e6658 New module 'cosf'.
Bruno Haible <bruno@clisp.org>
parents: 15872
diff changeset
115 -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \
12752
73d9dd27dc41 New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents: 12726
diff changeset
116 -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
15896
df1794ad8606 New module 'coshf'.
Bruno Haible <bruno@clisp.org>
parents: 15893
diff changeset
117 -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \
15860
e6ff40a73d85 New module 'expf'.
Bruno Haible <bruno@clisp.org>
parents: 15857
diff changeset
118 -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \
12752
73d9dd27dc41 New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents: 12726
diff changeset
119 -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
15828
36ce57192e3b New module 'fabsf'.
Bruno Haible <bruno@clisp.org>
parents: 15803
diff changeset
120 -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \
16405
e393287b3d95 New module 'fabsl'.
Bruno Haible <bruno@clisp.org>
parents: 16042
diff changeset
121 -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \
16038
8f14d00d6f24 New module 'fma'.
Bruno Haible <bruno@clisp.org>
parents: 15920
diff changeset
122 -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \
16040
b8acd8099b25 New module 'fmaf'.
Bruno Haible <bruno@clisp.org>
parents: 16038
diff changeset
123 -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \
16042
40ce19578aff New module 'fmal'.
Bruno Haible <bruno@clisp.org>
parents: 16040
diff changeset
124 -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \
15832
022f031c4bdf New module 'fmodf'.
Bruno Haible <bruno@clisp.org>
parents: 15828
diff changeset
125 -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \
16410
7a80e494e5e8 New module 'fmodl'.
Bruno Haible <bruno@clisp.org>
parents: 16408
diff changeset
126 -e 's|@''HAVE_FMODL''@|$(HAVE_FMODL)|g' \
15841
d26d12e238e1 New module 'frexpf'.
Bruno Haible <bruno@clisp.org>
parents: 15838
diff changeset
127 -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \
16514
befd75611259 New module 'hypotf'.
Bruno Haible <bruno@clisp.org>
parents: 16499
diff changeset
128 -e 's|@''HAVE_HYPOTF''@|$(HAVE_HYPOTF)|g' \
16519
52c75970f518 New module 'hypotl'.
Bruno Haible <bruno@clisp.org>
parents: 16514
diff changeset
129 -e 's|@''HAVE_HYPOTL''@|$(HAVE_HYPOTL)|g' \
10667
678640901735 Move the isnanf(), isnand(), isnanl() declarations to <math.h>.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
130 -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
678640901735 Move the isnanf(), isnand(), isnanl() declarations to <math.h>.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
131 -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
678640901735 Move the isnanf(), isnand(), isnanl() declarations to <math.h>.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
132 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
15847
cd98f212217e New module 'ldexpf'.
Bruno Haible <bruno@clisp.org>
parents: 15845
diff changeset
133 -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \
15863
c2fa2febdb1f New module 'logf'.
Bruno Haible <bruno@clisp.org>
parents: 15860
diff changeset
134 -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \
12752
73d9dd27dc41 New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents: 12726
diff changeset
135 -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
15866
215da3b412e0 New module 'log10f'.
Bruno Haible <bruno@clisp.org>
parents: 15863
diff changeset
136 -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \
16419
271a263949d9 New module 'log10l'.
Bruno Haible <bruno@clisp.org>
parents: 16415
diff changeset
137 -e 's|@''HAVE_LOG10L''@|$(HAVE_LOG10L)|g' \
15838
0e07b354626a New module 'modff'.
Bruno Haible <bruno@clisp.org>
parents: 15832
diff changeset
138 -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \
16408
b895d48831cd New module 'modfl'.
Bruno Haible <bruno@clisp.org>
parents: 16405
diff changeset
139 -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \
15869
7fb8367bf966 New module 'powf'.
Bruno Haible <bruno@clisp.org>
parents: 15866
diff changeset
140 -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \
16412
a50ff00ce4ee remainder: Support for MSVC.
Bruno Haible <bruno@clisp.org>
parents: 16410
diff changeset
141 -e 's|@''HAVE_REMAINDER''@|$(HAVE_REMAINDER)|g' \
16413
3a9564d7a3a5 New module 'remainderf'.
Bruno Haible <bruno@clisp.org>
parents: 16412
diff changeset
142 -e 's|@''HAVE_REMAINDERF''@|$(HAVE_REMAINDERF)|g' \
16415
7dac4948337f New module 'remainderl'.
Bruno Haible <bruno@clisp.org>
parents: 16413
diff changeset
143 -e 's|@''HAVE_REMAINDERL''@|$(HAVE_REMAINDERL)|g' \
15917
2a90104cab5b rint: Support for MSVC.
Bruno Haible <bruno@clisp.org>
parents: 15913
diff changeset
144 -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \
15918
1ffbb15d4325 New module 'rintf'.
Bruno Haible <bruno@clisp.org>
parents: 15917
diff changeset
145 -e 's|@''HAVE_RINTF''@|$(HAVE_RINTF)|g' \
15920
44844e6a23a1 New module 'rintl'.
Bruno Haible <bruno@clisp.org>
parents: 15918
diff changeset
146 -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \
15872
83e1d08997e4 New module 'sinf'.
Bruno Haible <bruno@clisp.org>
parents: 15869
diff changeset
147 -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \
12752
73d9dd27dc41 New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents: 12726
diff changeset
148 -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
15893
792aac7b45c4 New module 'sinhf'.
Bruno Haible <bruno@clisp.org>
parents: 15890
diff changeset
149 -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \
15857
6b8400199763 New module 'sqrtf'.
Bruno Haible <bruno@clisp.org>
parents: 15847
diff changeset
150 -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \
12752
73d9dd27dc41 New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents: 12726
diff changeset
151 -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
15878
c0c190f3cccb New module 'tanf'.
Bruno Haible <bruno@clisp.org>
parents: 15875
diff changeset
152 -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \
12752
73d9dd27dc41 New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents: 12726
diff changeset
153 -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
15899
31b76bf2f9e4 New module 'tanhf'.
Bruno Haible <bruno@clisp.org>
parents: 15896
diff changeset
154 -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \
8359
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
155 -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
156 -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
157 -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
13142
6b79b839590c math: Fix some C++ test errors on Cygwin.
Bruno Haible <bruno@clisp.org>
parents: 12936
diff changeset
158 -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
6b79b839590c math: Fix some C++ test errors on Cygwin.
Bruno Haible <bruno@clisp.org>
parents: 12936
diff changeset
159 -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
8359
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
160 -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
161 -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
13142
6b79b839590c math: Fix some C++ test errors on Cygwin.
Bruno Haible <bruno@clisp.org>
parents: 12936
diff changeset
162 -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
6b79b839590c math: Fix some C++ test errors on Cygwin.
Bruno Haible <bruno@clisp.org>
parents: 12936
diff changeset
163 -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
8359
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
164 -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
165 -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
12927
d3ea0f2aacfc logb: Provide missing declaration for Cygwin.
Bruno Haible <bruno@clisp.org>
parents: 12766
diff changeset
166 -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
8359
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
167 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
16419
271a263949d9 New module 'log10l'.
Bruno Haible <bruno@clisp.org>
parents: 16415
diff changeset
168 -e 's|@''HAVE_DECL_LOG10L''@|$(HAVE_DECL_LOG10L)|g' \
16412
a50ff00ce4ee remainder: Support for MSVC.
Bruno Haible <bruno@clisp.org>
parents: 16410
diff changeset
169 -e 's|@''HAVE_DECL_REMAINDER''@|$(HAVE_DECL_REMAINDER)|g' \
13142
6b79b839590c math: Fix some C++ test errors on Cygwin.
Bruno Haible <bruno@clisp.org>
parents: 12936
diff changeset
170 -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
6b79b839590c math: Fix some C++ test errors on Cygwin.
Bruno Haible <bruno@clisp.org>
parents: 12936
diff changeset
171 -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
6b79b839590c math: Fix some C++ test errors on Cygwin.
Bruno Haible <bruno@clisp.org>
parents: 12936
diff changeset
172 -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
8359
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
173 -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
174 -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
175 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
9282
9a26e94f946a New module 'trunc'.
Bruno Haible <bruno@clisp.org>
parents: 9255
diff changeset
176 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
9285
79e67a783774 New module 'truncf'.
Bruno Haible <bruno@clisp.org>
parents: 9282
diff changeset
177 -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
13142
6b79b839590c math: Fix some C++ test errors on Cygwin.
Bruno Haible <bruno@clisp.org>
parents: 12936
diff changeset
178 -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
14316
6f2788453d27 Split large sed scripts, for HP-UX sed.
Bruno Haible <bruno@clisp.org>
parents: 14273
diff changeset
179 | \
6f2788453d27 Split large sed scripts, for HP-UX sed.
Bruno Haible <bruno@clisp.org>
parents: 14273
diff changeset
180 sed -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
9420
9e0484f26251 Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents: 9414
diff changeset
181 -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
9e0484f26251 Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents: 9414
diff changeset
182 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
16405
e393287b3d95 New module 'fabsl'.
Bruno Haible <bruno@clisp.org>
parents: 16042
diff changeset
183 -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \
13981
8a7dbd29e9a5 New module 'floor-ieee'.
Bruno Haible <bruno@clisp.org>
parents: 13979
diff changeset
184 -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
9420
9e0484f26251 Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents: 9414
diff changeset
185 -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
9e0484f26251 Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents: 9414
diff changeset
186 -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
16038
8f14d00d6f24 New module 'fma'.
Bruno Haible <bruno@clisp.org>
parents: 15920
diff changeset
187 -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \
16040
b8acd8099b25 New module 'fmaf'.
Bruno Haible <bruno@clisp.org>
parents: 16038
diff changeset
188 -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \
16042
40ce19578aff New module 'fmal'.
Bruno Haible <bruno@clisp.org>
parents: 16040
diff changeset
189 -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \
16486
8b3ead70232c fmod-ieee: Work around test failures on OSF/1, mingw.
Bruno Haible <bruno@clisp.org>
parents: 16471
diff changeset
190 -e 's|@''REPLACE_FMOD''@|$(REPLACE_FMOD)|g' \
16488
8bed60fd8e6c fmodf-ieee: Work around test failure on OSF/1.
Bruno Haible <bruno@clisp.org>
parents: 16486
diff changeset
191 -e 's|@''REPLACE_FMODF''@|$(REPLACE_FMODF)|g' \
16410
7a80e494e5e8 New module 'fmodl'.
Bruno Haible <bruno@clisp.org>
parents: 16408
diff changeset
192 -e 's|@''REPLACE_FMODL''@|$(REPLACE_FMODL)|g' \
15845
622d3734ca5a frexpf: Work around problems on IRIX and mingw.
Bruno Haible <bruno@clisp.org>
parents: 15841
diff changeset
193 -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \
8491
af98e0b44387 New module 'frexp'.
Bruno Haible <bruno@clisp.org>
parents: 8359
diff changeset
194 -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
8547
658be4e4521a Provide a replacement for frexpl() if the system has it but it doesn't work.
Bruno Haible <bruno@clisp.org>
parents: 8497
diff changeset
195 -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
9898
02bfc9acab82 Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents: 9645
diff changeset
196 -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
16530
3cae6aa4577f hypot-ieee: Work around test failure on OSF/1 and native Windows.
Bruno Haible <bruno@clisp.org>
parents: 16519
diff changeset
197 -e 's|@''REPLACE_HYPOT''@|$(REPLACE_HYPOT)|g' \
16514
befd75611259 New module 'hypotf'.
Bruno Haible <bruno@clisp.org>
parents: 16499
diff changeset
198 -e 's|@''REPLACE_HYPOTF''@|$(REPLACE_HYPOTF)|g' \
9423
fa47aa8bb105 Use REPLACE_ISFINITE instead of HAVE_DECL_ISFINITE.
Bruno Haible <bruno@clisp.org>
parents: 9420
diff changeset
199 -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
10287
7a5cfea8469f Add isinf module.
Ben Pfaff <blp@cs.stanford.edu>
parents: 10267
diff changeset
200 -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
10267
bf763f10f63c Add isnan module.
Ben Pfaff <blp@cs.stanford.edu>
parents: 9913
diff changeset
201 -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
15803
ec6332cd8838 float, math: Fix 'int' to 'long double' conversion on Linux/SPARC64.
Bruno Haible <bruno@clisp.org>
parents: 15419
diff changeset
202 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
8588
84d2dbfe5855 New module 'ldexpl'.
Bruno Haible <bruno@clisp.org>
parents: 8547
diff changeset
203 -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
16467
c5b61bdb6da4 modf-ieee: Work around test failures on *BSD, IRIX, OSF/1, Cygwin.
Bruno Haible <bruno@clisp.org>
parents: 16419
diff changeset
204 -e 's|@''REPLACE_MODF''@|$(REPLACE_MODF)|g' \
16468
5ad3cc13d9c3 modff-ieee: Work around test failures on *BSD, IRIX, OSF/1, etc.
Bruno Haible <bruno@clisp.org>
parents: 16467
diff changeset
205 -e 's|@''REPLACE_MODFF''@|$(REPLACE_MODFF)|g' \
16471
1f4605f1f3ae modfl-ieee: Work around test failures on IRIX, OSF/1, mingw.
Bruno Haible <bruno@clisp.org>
parents: 16468
diff changeset
206 -e 's|@''REPLACE_MODFL''@|$(REPLACE_MODFL)|g' \
9898
02bfc9acab82 Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents: 9645
diff changeset
207 -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
16497
3843e07f6df5 remainder-ieee: Work around test failure on OSF/1.
Bruno Haible <bruno@clisp.org>
parents: 16488
diff changeset
208 -e 's|@''REPLACE_REMAINDER''@|$(REPLACE_REMAINDER)|g' \
16498
e04c5a489c44 remainderf-ieee: Work around test failure on OSF/1.
Bruno Haible <bruno@clisp.org>
parents: 16497
diff changeset
209 -e 's|@''REPLACE_REMAINDERF''@|$(REPLACE_REMAINDERF)|g' \
16499
65ee7db4e4a7 remainderl-ieee: Work around test failure on OSF/1.
Bruno Haible <bruno@clisp.org>
parents: 16498
diff changeset
210 -e 's|@''REPLACE_REMAINDERL''@|$(REPLACE_REMAINDERL)|g' \
9465
4a3319c82e39 Use REPLACE_ROUND instead of HAVE_DECL_ROUND.
Bruno Haible <bruno@clisp.org>
parents: 9423
diff changeset
211 -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
4a3319c82e39 Use REPLACE_ROUND instead of HAVE_DECL_ROUND.
Bruno Haible <bruno@clisp.org>
parents: 9423
diff changeset
212 -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
4a3319c82e39 Use REPLACE_ROUND instead of HAVE_DECL_ROUND.
Bruno Haible <bruno@clisp.org>
parents: 9423
diff changeset
213 -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
8652
9aabfa2b3200 New module 'signbit'.
Bruno Haible <bruno@clisp.org>
parents: 8588
diff changeset
214 -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
9645
c8174371956e Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents: 9465
diff changeset
215 -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
13983
ace70389132d New module 'trunc-ieee'.
Bruno Haible <bruno@clisp.org>
parents: 13982
diff changeset
216 -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
13979
84d7ae75b38f New module 'truncf-ieee'.
Bruno Haible <bruno@clisp.org>
parents: 13761
diff changeset
217 -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
9913
d3f5a70dc1ba Make truncl work on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents: 9898
diff changeset
218 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
12936
9be4aca41cee math: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents: 12927
diff changeset
219 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
12422
f7842310a565 New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents: 12410
diff changeset
220 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
14316
6f2788453d27 Split large sed scripts, for HP-UX sed.
Bruno Haible <bruno@clisp.org>
parents: 14273
diff changeset
221 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 11583
diff changeset
222 } > $@-t && \
8186
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
223 mv $@-t $@
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
224 MOSTLYCLEANFILES += math.h math.h-t
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
225
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
226 Include:
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
227 <math.h>
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
228
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
229 License:
13288
0083b2c84821 headers: relax license to LGPLv2+
Eric Blake <eblake@redhat.com>
parents: 13142
diff changeset
230 LGPLv2+
8186
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
231
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
232 Maintainer:
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
233 all