Mercurial > hg > octave-nkf > gnulib-hg
annotate modules/math @ 16408:b895d48831cd
New module 'modfl'.
* lib/math.in.h (modfl): New declaration.
* lib/modfl.c: New file.
* m4/modfl.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether modfl is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_MODFL, HAVE_MODFL.
* modules/math (Makefile.am): Substitute GNULIB_MODFL, HAVE_MODFL.
* modules/modfl: New file.
* doc/posix-functions/modfl.texi: Mention the new module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 25 Feb 2012 15:30:53 +0100 |
parents | e393287b3d95 |
children | 7a80e494e5e8 |
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' \ |
15832 | 57 -e 's/@''GNULIB_FMODF''@/$(GNULIB_FMODF)/g' \ |
15841 | 58 -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
|
59 -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
|
60 -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
|
61 -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
|
62 -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
|
63 -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
|
64 -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
|
65 -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
|
66 -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \ |
15847 | 67 -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
|
68 -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
|
69 -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \ |
15863 | 70 -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
|
71 -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \ |
15866 | 72 -e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \ |
15838 | 73 -e 's/@''GNULIB_MODFF''@/$(GNULIB_MODFF)/g' \ |
16408 | 74 -e 's/@''GNULIB_MODFL''@/$(GNULIB_MODFL)/g' \ |
15869 | 75 -e 's/@''GNULIB_POWF''@/$(GNULIB_POWF)/g' \ |
15917 | 76 -e 's/@''GNULIB_RINT''@/$(GNULIB_RINT)/g' \ |
15918 | 77 -e 's/@''GNULIB_RINTF''@/$(GNULIB_RINTF)/g' \ |
15920 | 78 -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
|
79 -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
|
80 -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
|
81 -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
|
82 -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \ |
15872 | 83 -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
|
84 -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \ |
15893 | 85 -e 's/@''GNULIB_SINHF''@/$(GNULIB_SINHF)/g' \ |
15857 | 86 -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
|
87 -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \ |
15878 | 88 -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
|
89 -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \ |
15899 | 90 -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
|
91 -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
|
92 -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
|
93 -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
|
94 < $(srcdir)/math.in.h | \ |
15884 | 95 sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \ |
96 -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \ | |
15881 | 97 -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
|
98 -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \ |
15887 | 99 -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
|
100 -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \ |
15890 | 101 -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \ |
15908
2f40da163bc2
copysign: Provide replacement.
Bruno Haible <bruno@clisp.org>
parents:
15899
diff
changeset
|
102 -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \ |
15911 | 103 -e 's|@''HAVE_COPYSIGNF''@|$(HAVE_COPYSIGNF)|g' \ |
15913 | 104 -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \ |
15875 | 105 -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
|
106 -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \ |
15896 | 107 -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \ |
15860 | 108 -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
|
109 -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \ |
15828 | 110 -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \ |
16405 | 111 -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \ |
16038 | 112 -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \ |
16040 | 113 -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \ |
16042 | 114 -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \ |
15832 | 115 -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \ |
15841 | 116 -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
|
117 -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
|
118 -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
|
119 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \ |
15847 | 120 -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \ |
15863 | 121 -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
|
122 -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \ |
15866 | 123 -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \ |
15838 | 124 -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \ |
16408 | 125 -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \ |
15869 | 126 -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \ |
15917 | 127 -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \ |
15918 | 128 -e 's|@''HAVE_RINTF''@|$(HAVE_RINTF)|g' \ |
15920 | 129 -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \ |
15872 | 130 -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
|
131 -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \ |
15893 | 132 -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \ |
15857 | 133 -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
|
134 -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \ |
15878 | 135 -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
|
136 -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \ |
15899 | 137 -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
|
138 -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
|
139 -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
|
140 -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
|
141 -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
|
142 -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
|
143 -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
|
144 -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
|
145 -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
|
146 -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
|
147 -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
|
148 -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
|
149 -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
|
150 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \ |
13142
6b79b839590c
math: Fix some C++ test errors on Cygwin.
Bruno Haible <bruno@clisp.org>
parents:
12936
diff
changeset
|
151 -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
|
152 -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
|
153 -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
|
154 -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
|
155 -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
|
156 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \ |
9282 | 157 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \ |
9285 | 158 -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
|
159 -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
|
160 | \ |
6f2788453d27
Split large sed scripts, for HP-UX sed.
Bruno Haible <bruno@clisp.org>
parents:
14273
diff
changeset
|
161 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
|
162 -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
|
163 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \ |
16405 | 164 -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \ |
13981 | 165 -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
|
166 -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
|
167 -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \ |
16038 | 168 -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \ |
16040 | 169 -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \ |
16042 | 170 -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \ |
15845
622d3734ca5a
frexpf: Work around problems on IRIX and mingw.
Bruno Haible <bruno@clisp.org>
parents:
15841
diff
changeset
|
171 -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \ |
8491 | 172 -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
|
173 -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
|
174 -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
|
175 -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \ |
10287 | 176 -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \ |
10267 | 177 -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
|
178 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ |
8588 | 179 -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \ |
9898
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
180 -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \ |
9465
4a3319c82e39
Use REPLACE_ROUND instead of HAVE_DECL_ROUND.
Bruno Haible <bruno@clisp.org>
parents:
9423
diff
changeset
|
181 -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
|
182 -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
|
183 -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \ |
8652 | 184 -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
|
185 -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \ |
13983 | 186 -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \ |
13979 | 187 -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
|
188 -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
|
189 -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
|
190 -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
|
191 -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
|
192 } > $@-t && \ |
8186
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
193 mv $@-t $@ |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
194 MOSTLYCLEANFILES += math.h math.h-t |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
195 |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
196 Include: |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
197 <math.h> |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
198 |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
199 License: |
13288
0083b2c84821
headers: relax license to LGPLv2+
Eric Blake <eblake@redhat.com>
parents:
13142
diff
changeset
|
200 LGPLv2+ |
8186
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
201 |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
202 Maintainer: |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
203 all |