Mercurial > hg > octave-nkf > gnulib-hg
annotate modules/math @ 16498:e04c5a489c44
remainderf-ieee: Work around test failure on OSF/1.
* m4/remainderf-ieee.m4: New file.
* m4/remainderf.m4 (gl_FUNC_REMAINDERF): If gl_FUNC_REMAINDERF_IEEE is
present, test whether remainderf works with a zero second argument.
Replace it if not.
* lib/math.in.h (remainderf): Override if REPLACE_REMAINDERF is 1.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDERF.
* modules/math (Makefile.am): Substitute REPLACE_REMAINDERF.
* modules/remainderf (configure.ac): Consider REPLACE_REMAINDERF.
(Depends-on): Update conditions.
* modules/remainderf-ieee (Files): Add m4/remainderf-ieee.m4.
(Depends-on): Add remainder-ieee.
(configure.ac): Invoke gl_FUNC_REMAINDERF_IEEE.
* doc/posix-functions/remainderf.texi: Mention the remainderf-ieee
module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 27 Feb 2012 19:33:31 +0100 |
parents | 3843e07f6df5 |
children | 65ee7db4e4a7 |
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 | 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 | 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 | 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 | 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 | 42 -e 's/@''GNULIB_COPYSIGNF''@/$(GNULIB_COPYSIGNF)/g' \ |
15913 | 43 -e 's/@''GNULIB_COPYSIGNL''@/$(GNULIB_COPYSIGNL)/g' \ |
15875 | 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 | 46 -e 's/@''GNULIB_COSHF''@/$(GNULIB_COSHF)/g' \ |
15860 | 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 | 49 -e 's/@''GNULIB_FABSF''@/$(GNULIB_FABSF)/g' \ |
16405 | 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 | 54 -e 's/@''GNULIB_FMA''@/$(GNULIB_FMA)/g' \ |
16040 | 55 -e 's/@''GNULIB_FMAF''@/$(GNULIB_FMAF)/g' \ |
16042 | 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 | 58 -e 's/@''GNULIB_FMODF''@/$(GNULIB_FMODF)/g' \ |
16410 | 59 -e 's/@''GNULIB_FMODL''@/$(GNULIB_FMODL)/g' \ |
15841 | 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' \ |
b22360ddefc4
gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents:
14840
diff
changeset
|
63 -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
|
64 -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
|
65 -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
|
66 -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
|
67 -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
|
68 -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \ |
15847 | 69 -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
|
70 -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
|
71 -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \ |
15863 | 72 -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
|
73 -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \ |
15866 | 74 -e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \ |
16419 | 75 -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
|
76 -e 's/@''GNULIB_MODF''@/$(GNULIB_MODF)/g' \ |
15838 | 77 -e 's/@''GNULIB_MODFF''@/$(GNULIB_MODFF)/g' \ |
16408 | 78 -e 's/@''GNULIB_MODFL''@/$(GNULIB_MODFL)/g' \ |
15869 | 79 -e 's/@''GNULIB_POWF''@/$(GNULIB_POWF)/g' \ |
16412
a50ff00ce4ee
remainder: Support for MSVC.
Bruno Haible <bruno@clisp.org>
parents:
16410
diff
changeset
|
80 -e 's/@''GNULIB_REMAINDER''@/$(GNULIB_REMAINDER)/g' \ |
16413 | 81 -e 's/@''GNULIB_REMAINDERF''@/$(GNULIB_REMAINDERF)/g' \ |
16415 | 82 -e 's/@''GNULIB_REMAINDERL''@/$(GNULIB_REMAINDERL)/g' \ |
15917 | 83 -e 's/@''GNULIB_RINT''@/$(GNULIB_RINT)/g' \ |
15918 | 84 -e 's/@''GNULIB_RINTF''@/$(GNULIB_RINTF)/g' \ |
15920 | 85 -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
|
86 -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
|
87 -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
|
88 -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
|
89 -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \ |
15872 | 90 -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
|
91 -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \ |
15893 | 92 -e 's/@''GNULIB_SINHF''@/$(GNULIB_SINHF)/g' \ |
15857 | 93 -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
|
94 -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \ |
15878 | 95 -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
|
96 -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \ |
15899 | 97 -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
|
98 -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
|
99 -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
|
100 -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
|
101 < $(srcdir)/math.in.h | \ |
15884 | 102 sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \ |
103 -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \ | |
15881 | 104 -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
|
105 -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \ |
15887 | 106 -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
|
107 -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \ |
15890 | 108 -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \ |
15908
2f40da163bc2
copysign: Provide replacement.
Bruno Haible <bruno@clisp.org>
parents:
15899
diff
changeset
|
109 -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \ |
15911 | 110 -e 's|@''HAVE_COPYSIGNF''@|$(HAVE_COPYSIGNF)|g' \ |
15913 | 111 -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \ |
15875 | 112 -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
|
113 -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \ |
15896 | 114 -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \ |
15860 | 115 -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
|
116 -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \ |
15828 | 117 -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \ |
16405 | 118 -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \ |
16038 | 119 -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \ |
16040 | 120 -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \ |
16042 | 121 -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \ |
15832 | 122 -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \ |
16410 | 123 -e 's|@''HAVE_FMODL''@|$(HAVE_FMODL)|g' \ |
15841 | 124 -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \ |
10667
678640901735
Move the isnanf(), isnand(), isnanl() declarations to <math.h>.
Bruno Haible <bruno@clisp.org>
parents:
10375
diff
changeset
|
125 -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
|
126 -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
|
127 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \ |
15847 | 128 -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \ |
15863 | 129 -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
|
130 -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \ |
15866 | 131 -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \ |
16419 | 132 -e 's|@''HAVE_LOG10L''@|$(HAVE_LOG10L)|g' \ |
15838 | 133 -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \ |
16408 | 134 -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \ |
15869 | 135 -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \ |
16412
a50ff00ce4ee
remainder: Support for MSVC.
Bruno Haible <bruno@clisp.org>
parents:
16410
diff
changeset
|
136 -e 's|@''HAVE_REMAINDER''@|$(HAVE_REMAINDER)|g' \ |
16413 | 137 -e 's|@''HAVE_REMAINDERF''@|$(HAVE_REMAINDERF)|g' \ |
16415 | 138 -e 's|@''HAVE_REMAINDERL''@|$(HAVE_REMAINDERL)|g' \ |
15917 | 139 -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \ |
15918 | 140 -e 's|@''HAVE_RINTF''@|$(HAVE_RINTF)|g' \ |
15920 | 141 -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \ |
15872 | 142 -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
|
143 -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \ |
15893 | 144 -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \ |
15857 | 145 -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
|
146 -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \ |
15878 | 147 -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
|
148 -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \ |
15899 | 149 -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
|
150 -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
|
151 -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
|
152 -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
|
153 -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
|
154 -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
|
155 -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
|
156 -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
|
157 -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
|
158 -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
|
159 -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
|
160 -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
|
161 -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
|
162 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \ |
16419 | 163 -e 's|@''HAVE_DECL_LOG10L''@|$(HAVE_DECL_LOG10L)|g' \ |
16412
a50ff00ce4ee
remainder: Support for MSVC.
Bruno Haible <bruno@clisp.org>
parents:
16410
diff
changeset
|
164 -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
|
165 -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
|
166 -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
|
167 -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
|
168 -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
|
169 -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
|
170 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \ |
9282 | 171 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \ |
9285 | 172 -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
|
173 -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
|
174 | \ |
6f2788453d27
Split large sed scripts, for HP-UX sed.
Bruno Haible <bruno@clisp.org>
parents:
14273
diff
changeset
|
175 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
|
176 -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
|
177 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \ |
16405 | 178 -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \ |
13981 | 179 -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
|
180 -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
|
181 -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \ |
16038 | 182 -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \ |
16040 | 183 -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \ |
16042 | 184 -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
|
185 -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
|
186 -e 's|@''REPLACE_FMODF''@|$(REPLACE_FMODF)|g' \ |
16410 | 187 -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
|
188 -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \ |
8491 | 189 -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
|
190 -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
|
191 -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \ |
9423
fa47aa8bb105
Use REPLACE_ISFINITE instead of HAVE_DECL_ISFINITE.
Bruno Haible <bruno@clisp.org>
parents:
9420
diff
changeset
|
192 -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \ |
10287 | 193 -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \ |
10267 | 194 -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
|
195 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ |
8588 | 196 -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
|
197 -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
|
198 -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
|
199 -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
|
200 -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
|
201 -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
|
202 -e 's|@''REPLACE_REMAINDERF''@|$(REPLACE_REMAINDERF)|g' \ |
9465
4a3319c82e39
Use REPLACE_ROUND instead of HAVE_DECL_ROUND.
Bruno Haible <bruno@clisp.org>
parents:
9423
diff
changeset
|
203 -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
|
204 -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
|
205 -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \ |
8652 | 206 -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
|
207 -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \ |
13983 | 208 -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \ |
13979 | 209 -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
|
210 -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
|
211 -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
|
212 -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
|
213 -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
|
214 } > $@-t && \ |
8186
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
215 mv $@-t $@ |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
216 MOSTLYCLEANFILES += math.h math.h-t |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
217 |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
218 Include: |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
219 <math.h> |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
220 |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
221 License: |
13288
0083b2c84821
headers: relax license to LGPLv2+
Eric Blake <eblake@redhat.com>
parents:
13142
diff
changeset
|
222 LGPLv2+ |
8186
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
223 |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
224 Maintainer: |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
225 all |