Mercurial > hg > octave-kai > gnulib-hg
annotate m4/math_h.m4 @ 12960:1583e59dfb92
Tests of module 'math' in C++ mode.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 08 Mar 2010 02:37:37 +0100 |
parents | d3ea0f2aacfc |
children | fc8c984b0733 |
rev | line source |
---|---|
12960
1583e59dfb92
Tests of module 'math' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
12927
diff
changeset
|
1 # math_h.m4 serial 19 |
12559
c2cbabec01dd
update nearly all FSF copyright year lists to include 2010
Jim Meyering <meyering@redhat.com>
parents:
12518
diff
changeset
|
2 dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. |
8186
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 dnl This file is free software; the Free Software Foundation |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 dnl gives unlimited permission to copy and/or distribute it, |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
5 dnl with or without modifications, as long as this notice is preserved. |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
6 |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
7 AC_DEFUN([gl_MATH_H], |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
8 [ |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 AC_REQUIRE([gl_MATH_H_DEFAULTS]) |
8995
1025663f7658
* m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
Paul Eggert <eggert@cs.ucla.edu>
parents:
8652
diff
changeset
|
10 gl_CHECK_NEXT_HEADERS([math.h]) |
12726
d6da6e5f2f62
math: add portability warnings for classification macros
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
11 AC_REQUIRE([AC_C_INLINE]) |
d6da6e5f2f62
math: add portability warnings for classification macros
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
12 |
9898
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
13 AC_CACHE_CHECK([whether NAN macro works], [gl_cv_header_math_nan_works], |
9921
01cfd65cc7e0
Fix underquoting of AC_LANG_PROGRAM arguments.
Bruno Haible <bruno@clisp.org>
parents:
9913
diff
changeset
|
14 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <math.h>]], |
9898
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
15 [[/* Solaris 10 has a broken definition of NAN. Other platforms |
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
16 fail to provide NAN, or provide it only in C99 mode; this |
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
17 test only needs to fail when NAN is provided but wrong. */ |
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
18 float f = 1.0f; |
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
19 #ifdef NAN |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
10667
diff
changeset
|
20 f = NAN; |
9898
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
21 #endif |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
10667
diff
changeset
|
22 return f == 0;]])], |
9898
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
23 [gl_cv_header_math_nan_works=yes], |
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
24 [gl_cv_header_math_nan_works=no])]) |
9900
5f47b9c9cc45
* m4/math_h.m4 (gl_MATH_H): Fix typos.
Jim Meyering <meyering@redhat.com>
parents:
9898
diff
changeset
|
25 if test $gl_cv_header_math_nan_works = no; then |
9898
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
26 REPLACE_NAN=1 |
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
27 fi |
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
28 AC_CACHE_CHECK([whether HUGE_VAL works], [gl_cv_header_math_huge_val_works], |
9921
01cfd65cc7e0
Fix underquoting of AC_LANG_PROGRAM arguments.
Bruno Haible <bruno@clisp.org>
parents:
9913
diff
changeset
|
29 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <math.h>]], |
9898
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
30 [[/* Solaris 10 has a broken definition of HUGE_VAL. */ |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
10667
diff
changeset
|
31 double d = HUGE_VAL; |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
10667
diff
changeset
|
32 return d == 0;]])], |
9898
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
33 [gl_cv_header_math_huge_val_works=yes], |
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
34 [gl_cv_header_math_huge_val_works=no])]) |
9900
5f47b9c9cc45
* m4/math_h.m4 (gl_MATH_H): Fix typos.
Jim Meyering <meyering@redhat.com>
parents:
9898
diff
changeset
|
35 if test $gl_cv_header_math_huge_val_works = no; then |
9898
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
36 REPLACE_HUGE_VAL=1 |
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
37 fi |
12766
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12752
diff
changeset
|
38 |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12752
diff
changeset
|
39 dnl Check for declarations of anything we want to poison if the |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12752
diff
changeset
|
40 dnl corresponding gnulib module is not in use. |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12752
diff
changeset
|
41 gl_WARN_ON_USE_PREPARE([[#include <math.h> |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12752
diff
changeset
|
42 ]], [acosl asinl atanl ceilf ceill cosl expl floorf floorl frexpl |
12927
d3ea0f2aacfc
logb: Provide missing declaration for Cygwin.
Bruno Haible <bruno@clisp.org>
parents:
12766
diff
changeset
|
43 ldexpl logb logl round roundf roundl sinl sqrtl tanl trunc truncf truncl]) |
8186
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
44 ]) |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
45 |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
46 AC_DEFUN([gl_MATH_MODULE_INDICATOR], |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
47 [ |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
48 dnl Use AC_REQUIRE here, so that the default settings are expanded once only. |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
49 AC_REQUIRE([gl_MATH_H_DEFAULTS]) |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
50 GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 |
12960
1583e59dfb92
Tests of module 'math' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
12927
diff
changeset
|
51 dnl Define it also as a C macro, for the benefit of the unit tests. |
1583e59dfb92
Tests of module 'math' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
12927
diff
changeset
|
52 gl_MODULE_INDICATOR([$1]) |
8186
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
53 ]) |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
54 |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
55 AC_DEFUN([gl_MATH_H_DEFAULTS], |
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
56 [ |
12752
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
57 GNULIB_ACOSL=0; AC_SUBST([GNULIB_ACOSL]) |
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
58 GNULIB_ASINL=0; AC_SUBST([GNULIB_ASINL]) |
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
59 GNULIB_ATANL=0; AC_SUBST([GNULIB_ATANL]) |
9420
9e0484f26251
Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
9414
diff
changeset
|
60 GNULIB_CEILF=0; AC_SUBST([GNULIB_CEILF]) |
9e0484f26251
Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
9414
diff
changeset
|
61 GNULIB_CEILL=0; AC_SUBST([GNULIB_CEILL]) |
12752
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
62 GNULIB_COSL=0; AC_SUBST([GNULIB_COSL]) |
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
63 GNULIB_EXPL=0; AC_SUBST([GNULIB_EXPL]) |
9420
9e0484f26251
Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
9414
diff
changeset
|
64 GNULIB_FLOORF=0; AC_SUBST([GNULIB_FLOORF]) |
9e0484f26251
Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
9414
diff
changeset
|
65 GNULIB_FLOORL=0; AC_SUBST([GNULIB_FLOORL]) |
9e0484f26251
Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
9414
diff
changeset
|
66 GNULIB_FREXP=0; AC_SUBST([GNULIB_FREXP]) |
9e0484f26251
Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
9414
diff
changeset
|
67 GNULIB_FREXPL=0; AC_SUBST([GNULIB_FREXPL]) |
9423
fa47aa8bb105
Use REPLACE_ISFINITE instead of HAVE_DECL_ISFINITE.
Bruno Haible <bruno@clisp.org>
parents:
9420
diff
changeset
|
68 GNULIB_ISFINITE=0; AC_SUBST([GNULIB_ISFINITE]) |
10287 | 69 GNULIB_ISINF=0; AC_SUBST([GNULIB_ISINF]) |
10267 | 70 GNULIB_ISNAN=0; AC_SUBST([GNULIB_ISNAN]) |
10667
678640901735
Move the isnanf(), isnand(), isnanl() declarations to <math.h>.
Bruno Haible <bruno@clisp.org>
parents:
10287
diff
changeset
|
71 GNULIB_ISNANF=0; AC_SUBST([GNULIB_ISNANF]) |
678640901735
Move the isnanf(), isnand(), isnanl() declarations to <math.h>.
Bruno Haible <bruno@clisp.org>
parents:
10287
diff
changeset
|
72 GNULIB_ISNAND=0; AC_SUBST([GNULIB_ISNAND]) |
678640901735
Move the isnanf(), isnand(), isnanl() declarations to <math.h>.
Bruno Haible <bruno@clisp.org>
parents:
10287
diff
changeset
|
73 GNULIB_ISNANL=0; AC_SUBST([GNULIB_ISNANL]) |
9420
9e0484f26251
Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
9414
diff
changeset
|
74 GNULIB_LDEXPL=0; AC_SUBST([GNULIB_LDEXPL]) |
12927
d3ea0f2aacfc
logb: Provide missing declaration for Cygwin.
Bruno Haible <bruno@clisp.org>
parents:
12766
diff
changeset
|
75 GNULIB_LOGB=0; AC_SUBST([GNULIB_LOGB]) |
12752
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
76 GNULIB_LOGL=0; AC_SUBST([GNULIB_LOGL]) |
9420
9e0484f26251
Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
9414
diff
changeset
|
77 GNULIB_ROUND=0; AC_SUBST([GNULIB_ROUND]) |
9e0484f26251
Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
9414
diff
changeset
|
78 GNULIB_ROUNDF=0; AC_SUBST([GNULIB_ROUNDF]) |
9e0484f26251
Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
9414
diff
changeset
|
79 GNULIB_ROUNDL=0; AC_SUBST([GNULIB_ROUNDL]) |
9e0484f26251
Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
9414
diff
changeset
|
80 GNULIB_SIGNBIT=0; AC_SUBST([GNULIB_SIGNBIT]) |
12752
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
81 GNULIB_SINL=0; AC_SUBST([GNULIB_SINL]) |
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
82 GNULIB_SQRTL=0; AC_SUBST([GNULIB_SQRTL]) |
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
83 GNULIB_TANL=0; AC_SUBST([GNULIB_TANL]) |
9420
9e0484f26251
Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
9414
diff
changeset
|
84 GNULIB_TRUNC=0; AC_SUBST([GNULIB_TRUNC]) |
9e0484f26251
Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
9414
diff
changeset
|
85 GNULIB_TRUNCF=0; AC_SUBST([GNULIB_TRUNCF]) |
9e0484f26251
Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible <bruno@clisp.org>
parents:
9414
diff
changeset
|
86 GNULIB_TRUNCL=0; AC_SUBST([GNULIB_TRUNCL]) |
8359
d8d194025f40
Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents:
8186
diff
changeset
|
87 dnl Assume proper GNU behavior unless another module says otherwise. |
12752
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
88 HAVE_ACOSL=1; AC_SUBST([HAVE_ACOSL]) |
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
89 HAVE_ASINL=1; AC_SUBST([HAVE_ASINL]) |
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
90 HAVE_ATANL=1; AC_SUBST([HAVE_ATANL]) |
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
91 HAVE_COSL=1; AC_SUBST([HAVE_COSL]) |
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
92 HAVE_EXPL=1; AC_SUBST([HAVE_EXPL]) |
10667
678640901735
Move the isnanf(), isnand(), isnanl() declarations to <math.h>.
Bruno Haible <bruno@clisp.org>
parents:
10287
diff
changeset
|
93 HAVE_ISNANF=1; AC_SUBST([HAVE_ISNANF]) |
678640901735
Move the isnanf(), isnand(), isnanl() declarations to <math.h>.
Bruno Haible <bruno@clisp.org>
parents:
10287
diff
changeset
|
94 HAVE_ISNAND=1; AC_SUBST([HAVE_ISNAND]) |
678640901735
Move the isnanf(), isnand(), isnanl() declarations to <math.h>.
Bruno Haible <bruno@clisp.org>
parents:
10287
diff
changeset
|
95 HAVE_ISNANL=1; AC_SUBST([HAVE_ISNANL]) |
12752
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
96 HAVE_LOGL=1; AC_SUBST([HAVE_LOGL]) |
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
97 HAVE_SINL=1; AC_SUBST([HAVE_SINL]) |
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
98 HAVE_SQRTL=1; AC_SUBST([HAVE_SQRTL]) |
73d9dd27dc41
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible <bruno@clisp.org>
parents:
12726
diff
changeset
|
99 HAVE_TANL=1; AC_SUBST([HAVE_TANL]) |
9645
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
100 HAVE_DECL_ACOSL=1; AC_SUBST([HAVE_DECL_ACOSL]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
101 HAVE_DECL_ASINL=1; AC_SUBST([HAVE_DECL_ASINL]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
102 HAVE_DECL_ATANL=1; AC_SUBST([HAVE_DECL_ATANL]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
103 HAVE_DECL_COSL=1; AC_SUBST([HAVE_DECL_COSL]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
104 HAVE_DECL_EXPL=1; AC_SUBST([HAVE_DECL_EXPL]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
105 HAVE_DECL_FREXPL=1; AC_SUBST([HAVE_DECL_FREXPL]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
106 HAVE_DECL_LDEXPL=1; AC_SUBST([HAVE_DECL_LDEXPL]) |
12927
d3ea0f2aacfc
logb: Provide missing declaration for Cygwin.
Bruno Haible <bruno@clisp.org>
parents:
12766
diff
changeset
|
107 HAVE_DECL_LOGB=1; AC_SUBST([HAVE_DECL_LOGB]) |
9645
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
108 HAVE_DECL_LOGL=1; AC_SUBST([HAVE_DECL_LOGL]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
109 HAVE_DECL_SINL=1; AC_SUBST([HAVE_DECL_SINL]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
110 HAVE_DECL_SQRTL=1; AC_SUBST([HAVE_DECL_SQRTL]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
111 HAVE_DECL_TANL=1; AC_SUBST([HAVE_DECL_TANL]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
112 HAVE_DECL_TRUNC=1; AC_SUBST([HAVE_DECL_TRUNC]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
113 HAVE_DECL_TRUNCF=1; AC_SUBST([HAVE_DECL_TRUNCF]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
114 REPLACE_CEILF=0; AC_SUBST([REPLACE_CEILF]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
115 REPLACE_CEILL=0; AC_SUBST([REPLACE_CEILL]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
116 REPLACE_FLOORF=0; AC_SUBST([REPLACE_FLOORF]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
117 REPLACE_FLOORL=0; AC_SUBST([REPLACE_FLOORL]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
118 REPLACE_FREXP=0; AC_SUBST([REPLACE_FREXP]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
119 REPLACE_FREXPL=0; AC_SUBST([REPLACE_FREXPL]) |
9898
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
120 REPLACE_HUGE_VAL=0; AC_SUBST([REPLACE_HUGE_VAL]) |
9645
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
121 REPLACE_ISFINITE=0; AC_SUBST([REPLACE_ISFINITE]) |
10287 | 122 REPLACE_ISINF=0; AC_SUBST([REPLACE_ISINF]) |
10267 | 123 REPLACE_ISNAN=0; AC_SUBST([REPLACE_ISNAN]) |
9645
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
124 REPLACE_LDEXPL=0; AC_SUBST([REPLACE_LDEXPL]) |
9898
02bfc9acab82
Work around Solaris 10 math.h bug.
Eric Blake <ebb9@byu.net>
parents:
9645
diff
changeset
|
125 REPLACE_NAN=0; AC_SUBST([REPLACE_NAN]) |
9645
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
126 REPLACE_ROUND=0; AC_SUBST([REPLACE_ROUND]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
127 REPLACE_ROUNDF=0; AC_SUBST([REPLACE_ROUNDF]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
128 REPLACE_ROUNDL=0; AC_SUBST([REPLACE_ROUNDL]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
129 REPLACE_SIGNBIT=0; AC_SUBST([REPLACE_SIGNBIT]) |
c8174371956e
Exploit the __builtin_signbit GCC built-in.
Bruno Haible <bruno@clisp.org>
parents:
9465
diff
changeset
|
130 REPLACE_SIGNBIT_USING_GCC=0; AC_SUBST([REPLACE_SIGNBIT_USING_GCC]) |
9913
d3f5a70dc1ba
Make truncl work on OSF/1 4.0.
Bruno Haible <bruno@clisp.org>
parents:
9900
diff
changeset
|
131 REPLACE_TRUNCL=0; AC_SUBST([REPLACE_TRUNCL]) |
8186
c115624bf99a
New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
132 ]) |