dhcpd-pools  2.28
ISC dhcpd lease usage analyser
math.h
Go to the documentation of this file.
1 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
2 /* A GNU-like <math.h>.
3 
4  Copyright (C) 2002-2003, 2007-2015 Free Software Foundation, Inc.
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>. */
18 
19 #ifndef _GL_MATH_H
20 
21 #if __GNUC__ >= 3
22 #pragma GCC system_header
23 #endif
24 
25 
26 /* The include_next requires a split double-inclusion guard. */
27 #include_next <math.h>
28 
29 #ifndef _GL_MATH_H
30 #define _GL_MATH_H
31 
32 #ifndef _GL_INLINE_HEADER_BEGIN
33  #error "Please include config.h first."
34 #endif
36 #ifndef _GL_MATH_INLINE
37 # define _GL_MATH_INLINE _GL_INLINE
38 #endif
39 
40 /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */
41 #ifndef _GL_CXXDEFS_H
42 #define _GL_CXXDEFS_H
43 
44 /* The three most frequent use cases of these macros are:
45 
46  * For providing a substitute for a function that is missing on some
47  platforms, but is declared and works fine on the platforms on which
48  it exists:
49 
50  #if @GNULIB_FOO@
51  # if !@HAVE_FOO@
52  _GL_FUNCDECL_SYS (foo, ...);
53  # endif
54  _GL_CXXALIAS_SYS (foo, ...);
55  _GL_CXXALIASWARN (foo);
56  #elif defined GNULIB_POSIXCHECK
57  ...
58  #endif
59 
60  * For providing a replacement for a function that exists on all platforms,
61  but is broken/insufficient and needs to be replaced on some platforms:
62 
63  #if @GNULIB_FOO@
64  # if @REPLACE_FOO@
65  # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
66  # undef foo
67  # define foo rpl_foo
68  # endif
69  _GL_FUNCDECL_RPL (foo, ...);
70  _GL_CXXALIAS_RPL (foo, ...);
71  # else
72  _GL_CXXALIAS_SYS (foo, ...);
73  # endif
74  _GL_CXXALIASWARN (foo);
75  #elif defined GNULIB_POSIXCHECK
76  ...
77  #endif
78 
79  * For providing a replacement for a function that exists on some platforms
80  but is broken/insufficient and needs to be replaced on some of them and
81  is additionally either missing or undeclared on some other platforms:
82 
83  #if @GNULIB_FOO@
84  # if @REPLACE_FOO@
85  # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
86  # undef foo
87  # define foo rpl_foo
88  # endif
89  _GL_FUNCDECL_RPL (foo, ...);
90  _GL_CXXALIAS_RPL (foo, ...);
91  # else
92  # if !@HAVE_FOO@ or if !@HAVE_DECL_FOO@
93  _GL_FUNCDECL_SYS (foo, ...);
94  # endif
95  _GL_CXXALIAS_SYS (foo, ...);
96  # endif
97  _GL_CXXALIASWARN (foo);
98  #elif defined GNULIB_POSIXCHECK
99  ...
100  #endif
101 */
102 
103 /* _GL_EXTERN_C declaration;
104  performs the declaration with C linkage. */
105 #if defined __cplusplus
106 # define _GL_EXTERN_C extern "C"
107 #else
108 # define _GL_EXTERN_C extern
109 #endif
110 
111 /* _GL_FUNCDECL_RPL (func, rettype, parameters_and_attributes);
112  declares a replacement function, named rpl_func, with the given prototype,
113  consisting of return type, parameters, and attributes.
114  Example:
115  _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...)
116  _GL_ARG_NONNULL ((1)));
117  */
118 #define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) \
119  _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes)
120 #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters_and_attributes) \
121  _GL_EXTERN_C rettype rpl_func parameters_and_attributes
122 
123 /* _GL_FUNCDECL_SYS (func, rettype, parameters_and_attributes);
124  declares the system function, named func, with the given prototype,
125  consisting of return type, parameters, and attributes.
126  Example:
127  _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...)
128  _GL_ARG_NONNULL ((1)));
129  */
130 #define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \
131  _GL_EXTERN_C rettype func parameters_and_attributes
132 
133 /* _GL_CXXALIAS_RPL (func, rettype, parameters);
134  declares a C++ alias called GNULIB_NAMESPACE::func
135  that redirects to rpl_func, if GNULIB_NAMESPACE is defined.
136  Example:
137  _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...));
138  */
139 #define _GL_CXXALIAS_RPL(func,rettype,parameters) \
140  _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters)
141 #if defined __cplusplus && defined GNULIB_NAMESPACE
142 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \
143  namespace GNULIB_NAMESPACE \
144  { \
145  rettype (*const func) parameters = ::rpl_func; \
146  } \
147  _GL_EXTERN_C int _gl_cxxalias_dummy
148 #else
149 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \
150  _GL_EXTERN_C int _gl_cxxalias_dummy
151 #endif
152 
153 /* _GL_CXXALIAS_RPL_CAST_1 (func, rpl_func, rettype, parameters);
154  is like _GL_CXXALIAS_RPL_1 (func, rpl_func, rettype, parameters);
155  except that the C function rpl_func may have a slightly different
156  declaration. A cast is used to silence the "invalid conversion" error
157  that would otherwise occur. */
158 #if defined __cplusplus && defined GNULIB_NAMESPACE
159 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \
160  namespace GNULIB_NAMESPACE \
161  { \
162  rettype (*const func) parameters = \
163  reinterpret_cast<rettype(*)parameters>(::rpl_func); \
164  } \
165  _GL_EXTERN_C int _gl_cxxalias_dummy
166 #else
167 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \
168  _GL_EXTERN_C int _gl_cxxalias_dummy
169 #endif
170 
171 /* _GL_CXXALIAS_SYS (func, rettype, parameters);
172  declares a C++ alias called GNULIB_NAMESPACE::func
173  that redirects to the system provided function func, if GNULIB_NAMESPACE
174  is defined.
175  Example:
176  _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...));
177  */
178 #if defined __cplusplus && defined GNULIB_NAMESPACE
179  /* If we were to write
180  rettype (*const func) parameters = ::func;
181  like above in _GL_CXXALIAS_RPL_1, the compiler could optimize calls
182  better (remove an indirection through a 'static' pointer variable),
183  but then the _GL_CXXALIASWARN macro below would cause a warning not only
184  for uses of ::func but also for uses of GNULIB_NAMESPACE::func. */
185 # define _GL_CXXALIAS_SYS(func,rettype,parameters) \
186  namespace GNULIB_NAMESPACE \
187  { \
188  static rettype (*func) parameters = ::func; \
189  } \
190  _GL_EXTERN_C int _gl_cxxalias_dummy
191 #else
192 # define _GL_CXXALIAS_SYS(func,rettype,parameters) \
193  _GL_EXTERN_C int _gl_cxxalias_dummy
194 #endif
195 
196 /* _GL_CXXALIAS_SYS_CAST (func, rettype, parameters);
197  is like _GL_CXXALIAS_SYS (func, rettype, parameters);
198  except that the C function func may have a slightly different declaration.
199  A cast is used to silence the "invalid conversion" error that would
200  otherwise occur. */
201 #if defined __cplusplus && defined GNULIB_NAMESPACE
202 # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \
203  namespace GNULIB_NAMESPACE \
204  { \
205  static rettype (*func) parameters = \
206  reinterpret_cast<rettype(*)parameters>(::func); \
207  } \
208  _GL_EXTERN_C int _gl_cxxalias_dummy
209 #else
210 # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \
211  _GL_EXTERN_C int _gl_cxxalias_dummy
212 #endif
213 
214 /* _GL_CXXALIAS_SYS_CAST2 (func, rettype, parameters, rettype2, parameters2);
215  is like _GL_CXXALIAS_SYS (func, rettype, parameters);
216  except that the C function is picked among a set of overloaded functions,
217  namely the one with rettype2 and parameters2. Two consecutive casts
218  are used to silence the "cannot find a match" and "invalid conversion"
219  errors that would otherwise occur. */
220 #if defined __cplusplus && defined GNULIB_NAMESPACE
221  /* The outer cast must be a reinterpret_cast.
222  The inner cast: When the function is defined as a set of overloaded
223  functions, it works as a static_cast<>, choosing the designated variant.
224  When the function is defined as a single variant, it works as a
225  reinterpret_cast<>. The parenthesized cast syntax works both ways. */
226 # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \
227  namespace GNULIB_NAMESPACE \
228  { \
229  static rettype (*func) parameters = \
230  reinterpret_cast<rettype(*)parameters>( \
231  (rettype2(*)parameters2)(::func)); \
232  } \
233  _GL_EXTERN_C int _gl_cxxalias_dummy
234 #else
235 # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \
236  _GL_EXTERN_C int _gl_cxxalias_dummy
237 #endif
238 
239 /* _GL_CXXALIASWARN (func);
240  causes a warning to be emitted when ::func is used but not when
241  GNULIB_NAMESPACE::func is used. func must be defined without overloaded
242  variants. */
243 #if defined __cplusplus && defined GNULIB_NAMESPACE
244 # define _GL_CXXALIASWARN(func) \
245  _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE)
246 # define _GL_CXXALIASWARN_1(func,namespace) \
247  _GL_CXXALIASWARN_2 (func, namespace)
248 /* To work around GCC bug <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43881>,
249  we enable the warning only when not optimizing. */
250 # if !__OPTIMIZE__
251 # define _GL_CXXALIASWARN_2(func,namespace) \
252  _GL_WARN_ON_USE (func, \
253  "The symbol ::" #func " refers to the system function. " \
254  "Use " #namespace "::" #func " instead.")
255 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING
256 # define _GL_CXXALIASWARN_2(func,namespace) \
257  extern __typeof__ (func) func
258 # else
259 # define _GL_CXXALIASWARN_2(func,namespace) \
260  _GL_EXTERN_C int _gl_cxxalias_dummy
261 # endif
262 #else
263 # define _GL_CXXALIASWARN(func) \
264  _GL_EXTERN_C int _gl_cxxalias_dummy
265 #endif
266 
267 /* _GL_CXXALIASWARN1 (func, rettype, parameters_and_attributes);
268  causes a warning to be emitted when the given overloaded variant of ::func
269  is used but not when GNULIB_NAMESPACE::func is used. */
270 #if defined __cplusplus && defined GNULIB_NAMESPACE
271 # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \
272  _GL_CXXALIASWARN1_1 (func, rettype, parameters_and_attributes, \
273  GNULIB_NAMESPACE)
274 # define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \
275  _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace)
276 /* To work around GCC bug <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43881>,
277  we enable the warning only when not optimizing. */
278 # if !__OPTIMIZE__
279 # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \
280  _GL_WARN_ON_USE_CXX (func, rettype, parameters_and_attributes, \
281  "The symbol ::" #func " refers to the system function. " \
282  "Use " #namespace "::" #func " instead.")
283 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING
284 # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \
285  extern __typeof__ (func) func
286 # else
287 # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \
288  _GL_EXTERN_C int _gl_cxxalias_dummy
289 # endif
290 #else
291 # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \
292  _GL_EXTERN_C int _gl_cxxalias_dummy
293 #endif
294 
295 #endif /* _GL_CXXDEFS_H */
296 
297 /* The definition of _GL_ARG_NONNULL is copied here. */
298 /* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools
299  that the values passed as arguments n, ..., m must be non-NULL pointers.
300  n = 1 stands for the first argument, n = 2 for the second argument etc. */
301 #ifndef _GL_ARG_NONNULL
302 # if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3
303 # define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params))
304 # else
305 # define _GL_ARG_NONNULL(params)
306 # endif
307 #endif
308 
309 /* The definition of _GL_WARN_ON_USE is copied here. */
310 #ifndef _GL_WARN_ON_USE
311 
312 # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__)
313 /* A compiler attribute is available in gcc versions 4.3.0 and later. */
314 # define _GL_WARN_ON_USE(function, message) \
315 extern __typeof__ (function) function __attribute__ ((__warning__ (message)))
316 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING
317 /* Verify the existence of the function. */
318 # define _GL_WARN_ON_USE(function, message) \
319 extern __typeof__ (function) function
320 # else /* Unsupported. */
321 # define _GL_WARN_ON_USE(function, message) \
322 _GL_WARN_EXTERN_C int _gl_warn_on_use
323 # endif
324 #endif
325 
326 /* _GL_WARN_ON_USE_CXX (function, rettype, parameters_and_attributes, "string")
327  is like _GL_WARN_ON_USE (function, "string"), except that the function is
328  declared with the given prototype, consisting of return type, parameters,
329  and attributes.
330  This variant is useful for overloaded functions in C++. _GL_WARN_ON_USE does
331  not work in this case. */
332 #ifndef _GL_WARN_ON_USE_CXX
333 # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__)
334 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \
335 extern rettype function parameters_and_attributes \
336  __attribute__ ((__warning__ (msg)))
337 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING
338 /* Verify the existence of the function. */
339 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \
340 extern rettype function parameters_and_attributes
341 # else /* Unsupported. */
342 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \
343 _GL_WARN_EXTERN_C int _gl_warn_on_use
344 # endif
345 #endif
346 
347 /* _GL_WARN_EXTERN_C declaration;
348  performs the declaration with C linkage. */
349 #ifndef _GL_WARN_EXTERN_C
350 # if defined __cplusplus
351 # define _GL_WARN_EXTERN_C extern "C"
352 # else
353 # define _GL_WARN_EXTERN_C extern
354 # endif
355 #endif
356 
357 #ifdef __cplusplus
358 /* Helper macros to define type-generic function FUNC as overloaded functions,
359  rather than as macros like in C. POSIX declares these with an argument of
360  real-floating (that is, one of float, double, or long double). */
361 # define _GL_MATH_CXX_REAL_FLOATING_DECL_1(func) \
362 static inline int \
363 _gl_cxx_ ## func ## f (float f) \
364 { \
365  return func (f); \
366 } \
367 static inline int \
368 _gl_cxx_ ## func ## d (double d) \
369 { \
370  return func (d); \
371 } \
372 static inline int \
373 _gl_cxx_ ## func ## l (long double l) \
374 { \
375  return func (l); \
376 }
377 # define _GL_MATH_CXX_REAL_FLOATING_DECL_2(func) \
378 inline int \
379 func (float f) \
380 { \
381  return _gl_cxx_ ## func ## f (f); \
382 } \
383 inline int \
384 func (double d) \
385 { \
386  return _gl_cxx_ ## func ## d (d); \
387 } \
388 inline int \
389 func (long double l) \
390 { \
391  return _gl_cxx_ ## func ## l (l); \
392 }
393 #endif
394 
395 /* Helper macros to define a portability warning for the
396  classification macro FUNC called with VALUE. POSIX declares the
397  classification macros with an argument of real-floating (that is,
398  one of float, double, or long double). */
399 #define _GL_WARN_REAL_FLOATING_DECL(func) \
400 _GL_MATH_INLINE int \
401 rpl_ ## func ## f (float f) \
402 { \
403  return func (f); \
404 } \
405 _GL_MATH_INLINE int \
406 rpl_ ## func ## d (double d) \
407 { \
408  return func (d); \
409 } \
410 _GL_MATH_INLINE int \
411 rpl_ ## func ## l (long double l) \
412 { \
413  return func (l); \
414 } \
415 _GL_WARN_ON_USE (rpl_ ## func ## f, #func " is unportable - " \
416  "use gnulib module " #func " for portability"); \
417 _GL_WARN_ON_USE (rpl_ ## func ## d, #func " is unportable - " \
418  "use gnulib module " #func " for portability"); \
419 _GL_WARN_ON_USE (rpl_ ## func ## l, #func " is unportable - " \
420  "use gnulib module " #func " for portability")
421 #define _GL_WARN_REAL_FLOATING_IMPL(func, value) \
422  (sizeof (value) == sizeof (float) ? rpl_ ## func ## f (value) \
423  : sizeof (value) == sizeof (double) ? rpl_ ## func ## d (value) \
424  : rpl_ ## func ## l (value))
425 
426 
427 #if 0
428 /* Pull in a function that fixes the 'int' to 'long double' conversion
429  of glibc 2.7. */
430 _GL_EXTERN_C void _Qp_itoq (long double *, int);
431 static void (*_gl_math_fix_itold) (long double *, int) = _Qp_itoq;
432 #endif
433 
434 
435 /* POSIX allows platforms that don't support NAN. But all major
436  machines in the past 15 years have supported something close to
437  IEEE NaN, so we define this unconditionally. We also must define
438  it on platforms like Solaris 10, where NAN is present but defined
439  as a function pointer rather than a floating point constant. */
440 #if !defined NAN || 0
441 # if !GNULIB_defined_NAN
442 # undef NAN
443  /* The Compaq (ex-DEC) C 6.4 compiler and the Microsoft MSVC 9 compiler
444  choke on the expression 0.0 / 0.0. */
445 # if defined __DECC || defined _MSC_VER
446 _GL_MATH_INLINE float
447 _NaN ()
448 {
449  static float zero = 0.0f;
450  return zero / zero;
451 }
452 # define NAN (_NaN())
453 # else
454 # define NAN (0.0f / 0.0f)
455 # endif
456 # define GNULIB_defined_NAN 1
457 # endif
458 #endif
459 
460 /* Solaris 10 defines HUGE_VAL, but as a function pointer rather
461  than a floating point constant. */
462 #if 0
463 # undef HUGE_VALF
464 # define HUGE_VALF (1.0f / 0.0f)
465 # undef HUGE_VAL
466 # define HUGE_VAL (1.0 / 0.0)
467 # undef HUGE_VALL
468 # define HUGE_VALL (1.0L / 0.0L)
469 #endif
470 
471 /* HUGE_VALF is a 'float' Infinity. */
472 #ifndef HUGE_VALF
473 # if defined _MSC_VER
474 /* The Microsoft MSVC 9 compiler chokes on the expression 1.0f / 0.0f. */
475 # define HUGE_VALF (1e25f * 1e25f)
476 # else
477 # define HUGE_VALF (1.0f / 0.0f)
478 # endif
479 #endif
480 
481 /* HUGE_VAL is a 'double' Infinity. */
482 #ifndef HUGE_VAL
483 # if defined _MSC_VER
484 /* The Microsoft MSVC 9 compiler chokes on the expression 1.0 / 0.0. */
485 # define HUGE_VAL (1e250 * 1e250)
486 # else
487 # define HUGE_VAL (1.0 / 0.0)
488 # endif
489 #endif
490 
491 /* HUGE_VALL is a 'long double' Infinity. */
492 #ifndef HUGE_VALL
493 # if defined _MSC_VER
494 /* The Microsoft MSVC 9 compiler chokes on the expression 1.0L / 0.0L. */
495 # define HUGE_VALL (1e250L * 1e250L)
496 # else
497 # define HUGE_VALL (1.0L / 0.0L)
498 # endif
499 #endif
500 
501 
502 /* Ensure FP_ILOGB0 and FP_ILOGBNAN are defined. */
503 #if !(defined FP_ILOGB0 && defined FP_ILOGBNAN)
504 # if defined __NetBSD__ || defined __sgi
505  /* NetBSD, IRIX 6.5: match what ilogb() does */
506 # define FP_ILOGB0 (- 2147483647 - 1) /* INT_MIN */
507 # define FP_ILOGBNAN (- 2147483647 - 1) /* INT_MIN */
508 # elif defined _AIX
509  /* AIX 5.1: match what ilogb() does in AIX >= 5.2 */
510 # define FP_ILOGB0 (- 2147483647 - 1) /* INT_MIN */
511 # define FP_ILOGBNAN 2147483647 /* INT_MAX */
512 # elif defined __sun
513  /* Solaris 9: match what ilogb() does */
514 # define FP_ILOGB0 (- 2147483647) /* - INT_MAX */
515 # define FP_ILOGBNAN 2147483647 /* INT_MAX */
516 # else
517  /* Gnulib defined values. */
518 # define FP_ILOGB0 (- 2147483647) /* - INT_MAX */
519 # define FP_ILOGBNAN (- 2147483647 - 1) /* INT_MIN */
520 # endif
521 #endif
522 
523 
524 #if 0
525 # if !1
526 # undef acosf
527 _GL_FUNCDECL_SYS (acosf, float, (float x));
528 # endif
529 _GL_CXXALIAS_SYS (acosf, float, (float x));
530 _GL_CXXALIASWARN (acosf);
531 #elif defined GNULIB_POSIXCHECK
532 # undef acosf
533 # if HAVE_RAW_DECL_ACOSF
534 _GL_WARN_ON_USE (acosf, "acosf is unportable - "
535  "use gnulib module acosf for portability");
536 # endif
537 #endif
538 
539 #if 0
540 # if !1 || !1
541 # undef acosl
542 _GL_FUNCDECL_SYS (acosl, long double, (long double x));
543 # endif
544 _GL_CXXALIAS_SYS (acosl, long double, (long double x));
545 _GL_CXXALIASWARN (acosl);
546 #elif defined GNULIB_POSIXCHECK
547 # undef acosl
548 # if HAVE_RAW_DECL_ACOSL
549 _GL_WARN_ON_USE (acosl, "acosl is unportable - "
550  "use gnulib module acosl for portability");
551 # endif
552 #endif
553 
554 
555 #if 0
556 # if !1
557 # undef asinf
558 _GL_FUNCDECL_SYS (asinf, float, (float x));
559 # endif
560 _GL_CXXALIAS_SYS (asinf, float, (float x));
561 _GL_CXXALIASWARN (asinf);
562 #elif defined GNULIB_POSIXCHECK
563 # undef asinf
564 # if HAVE_RAW_DECL_ASINF
565 _GL_WARN_ON_USE (asinf, "asinf is unportable - "
566  "use gnulib module asinf for portability");
567 # endif
568 #endif
569 
570 #if 0
571 # if !1 || !1
572 # undef asinl
573 _GL_FUNCDECL_SYS (asinl, long double, (long double x));
574 # endif
575 _GL_CXXALIAS_SYS (asinl, long double, (long double x));
576 _GL_CXXALIASWARN (asinl);
577 #elif defined GNULIB_POSIXCHECK
578 # undef asinl
579 # if HAVE_RAW_DECL_ASINL
580 _GL_WARN_ON_USE (asinl, "asinl is unportable - "
581  "use gnulib module asinl for portability");
582 # endif
583 #endif
584 
585 
586 #if 0
587 # if !1
588 # undef atanf
589 _GL_FUNCDECL_SYS (atanf, float, (float x));
590 # endif
591 _GL_CXXALIAS_SYS (atanf, float, (float x));
592 _GL_CXXALIASWARN (atanf);
593 #elif defined GNULIB_POSIXCHECK
594 # undef atanf
595 # if HAVE_RAW_DECL_ATANF
596 _GL_WARN_ON_USE (atanf, "atanf is unportable - "
597  "use gnulib module atanf for portability");
598 # endif
599 #endif
600 
601 #if 0
602 # if !1 || !1
603 # undef atanl
604 _GL_FUNCDECL_SYS (atanl, long double, (long double x));
605 # endif
606 _GL_CXXALIAS_SYS (atanl, long double, (long double x));
607 _GL_CXXALIASWARN (atanl);
608 #elif defined GNULIB_POSIXCHECK
609 # undef atanl
610 # if HAVE_RAW_DECL_ATANL
611 _GL_WARN_ON_USE (atanl, "atanl is unportable - "
612  "use gnulib module atanl for portability");
613 # endif
614 #endif
615 
616 
617 #if 0
618 # if !1
619 # undef atan2f
620 _GL_FUNCDECL_SYS (atan2f, float, (float y, float x));
621 # endif
622 _GL_CXXALIAS_SYS (atan2f, float, (float y, float x));
623 _GL_CXXALIASWARN (atan2f);
624 #elif defined GNULIB_POSIXCHECK
625 # undef atan2f
626 # if HAVE_RAW_DECL_ATAN2F
627 _GL_WARN_ON_USE (atan2f, "atan2f is unportable - "
628  "use gnulib module atan2f for portability");
629 # endif
630 #endif
631 
632 
633 #if 0
634 # if 0
635 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
636 # undef cbrtf
637 # define cbrtf rpl_cbrtf
638 # endif
639 _GL_FUNCDECL_RPL (cbrtf, float, (float x));
640 _GL_CXXALIAS_RPL (cbrtf, float, (float x));
641 # else
642 # if !1
643 _GL_FUNCDECL_SYS (cbrtf, float, (float x));
644 # endif
645 _GL_CXXALIAS_SYS (cbrtf, float, (float x));
646 # endif
647 _GL_CXXALIASWARN (cbrtf);
648 #elif defined GNULIB_POSIXCHECK
649 # undef cbrtf
650 # if HAVE_RAW_DECL_CBRTF
651 _GL_WARN_ON_USE (cbrtf, "cbrtf is unportable - "
652  "use gnulib module cbrtf for portability");
653 # endif
654 #endif
655 
656 #if 0
657 # if !1
658 _GL_FUNCDECL_SYS (cbrt, double, (double x));
659 # endif
660 _GL_CXXALIAS_SYS (cbrt, double, (double x));
661 _GL_CXXALIASWARN (cbrt);
662 #elif defined GNULIB_POSIXCHECK
663 # undef cbrt
664 # if HAVE_RAW_DECL_CBRT
665 _GL_WARN_ON_USE (cbrt, "cbrt is unportable - "
666  "use gnulib module cbrt for portability");
667 # endif
668 #endif
669 
670 #if 0
671 # if 0
672 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
673 # undef cbrtl
674 # define cbrtl rpl_cbrtl
675 # endif
676 _GL_FUNCDECL_RPL (cbrtl, long double, (long double x));
677 _GL_CXXALIAS_RPL (cbrtl, long double, (long double x));
678 # else
679 # if !1
680 _GL_FUNCDECL_SYS (cbrtl, long double, (long double x));
681 # endif
682 _GL_CXXALIAS_SYS (cbrtl, long double, (long double x));
683 # endif
684 _GL_CXXALIASWARN (cbrtl);
685 #elif defined GNULIB_POSIXCHECK
686 # undef cbrtl
687 # if HAVE_RAW_DECL_CBRTL
688 _GL_WARN_ON_USE (cbrtl, "cbrtl is unportable - "
689  "use gnulib module cbrtl for portability");
690 # endif
691 #endif
692 
693 
694 #if 0
695 # if 0
696 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
697 # undef ceilf
698 # define ceilf rpl_ceilf
699 # endif
700 _GL_FUNCDECL_RPL (ceilf, float, (float x));
701 _GL_CXXALIAS_RPL (ceilf, float, (float x));
702 # else
703 # if !1
704 # undef ceilf
705 _GL_FUNCDECL_SYS (ceilf, float, (float x));
706 # endif
707 _GL_CXXALIAS_SYS (ceilf, float, (float x));
708 # endif
709 _GL_CXXALIASWARN (ceilf);
710 #elif defined GNULIB_POSIXCHECK
711 # undef ceilf
712 # if HAVE_RAW_DECL_CEILF
713 _GL_WARN_ON_USE (ceilf, "ceilf is unportable - "
714  "use gnulib module ceilf for portability");
715 # endif
716 #endif
717 
718 #if 0
719 # if 0
720 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
721 # define ceil rpl_ceil
722 # endif
723 _GL_FUNCDECL_RPL (ceil, double, (double x));
724 _GL_CXXALIAS_RPL (ceil, double, (double x));
725 # else
726 _GL_CXXALIAS_SYS (ceil, double, (double x));
727 # endif
728 _GL_CXXALIASWARN (ceil);
729 #endif
730 
731 #if 0
732 # if 0
733 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
734 # undef ceill
735 # define ceill rpl_ceill
736 # endif
737 _GL_FUNCDECL_RPL (ceill, long double, (long double x));
738 _GL_CXXALIAS_RPL (ceill, long double, (long double x));
739 # else
740 # if !1
741 # undef ceill
742 _GL_FUNCDECL_SYS (ceill, long double, (long double x));
743 # endif
744 _GL_CXXALIAS_SYS (ceill, long double, (long double x));
745 # endif
746 _GL_CXXALIASWARN (ceill);
747 #elif defined GNULIB_POSIXCHECK
748 # undef ceill
749 # if HAVE_RAW_DECL_CEILL
750 _GL_WARN_ON_USE (ceill, "ceill is unportable - "
751  "use gnulib module ceill for portability");
752 # endif
753 #endif
754 
755 
756 #if 0
757 # if !1
758 _GL_FUNCDECL_SYS (copysignf, float, (float x, float y));
759 # endif
760 _GL_CXXALIAS_SYS (copysignf, float, (float x, float y));
761 _GL_CXXALIASWARN (copysignf);
762 #elif defined GNULIB_POSIXCHECK
763 # undef copysignf
764 # if HAVE_RAW_DECL_COPYSIGNF
765 _GL_WARN_ON_USE (copysignf, "copysignf is unportable - "
766  "use gnulib module copysignf for portability");
767 # endif
768 #endif
769 
770 #if 0
771 # if !1
772 _GL_FUNCDECL_SYS (copysign, double, (double x, double y));
773 # endif
774 _GL_CXXALIAS_SYS (copysign, double, (double x, double y));
775 _GL_CXXALIASWARN (copysign);
776 #elif defined GNULIB_POSIXCHECK
777 # undef copysign
778 # if HAVE_RAW_DECL_COPYSIGN
779 _GL_WARN_ON_USE (copysign, "copysign is unportable - "
780  "use gnulib module copysign for portability");
781 # endif
782 #endif
783 
784 #if 0
785 # if !1
786 _GL_FUNCDECL_SYS (copysignl, long double, (long double x, long double y));
787 # endif
788 _GL_CXXALIAS_SYS (copysignl, long double, (long double x, long double y));
789 _GL_CXXALIASWARN (copysignl);
790 #elif defined GNULIB_POSIXCHECK
791 # undef copysignl
792 # if HAVE_RAW_DECL_COPYSIGNL
793 _GL_WARN_ON_USE (copysign, "copysignl is unportable - "
794  "use gnulib module copysignl for portability");
795 # endif
796 #endif
797 
798 
799 #if 0
800 # if !1
801 # undef cosf
802 _GL_FUNCDECL_SYS (cosf, float, (float x));
803 # endif
804 _GL_CXXALIAS_SYS (cosf, float, (float x));
805 _GL_CXXALIASWARN (cosf);
806 #elif defined GNULIB_POSIXCHECK
807 # undef cosf
808 # if HAVE_RAW_DECL_COSF
809 _GL_WARN_ON_USE (cosf, "cosf is unportable - "
810  "use gnulib module cosf for portability");
811 # endif
812 #endif
813 
814 #if 0
815 # if !1 || !1
816 # undef cosl
817 _GL_FUNCDECL_SYS (cosl, long double, (long double x));
818 # endif
819 _GL_CXXALIAS_SYS (cosl, long double, (long double x));
820 _GL_CXXALIASWARN (cosl);
821 #elif defined GNULIB_POSIXCHECK
822 # undef cosl
823 # if HAVE_RAW_DECL_COSL
824 _GL_WARN_ON_USE (cosl, "cosl is unportable - "
825  "use gnulib module cosl for portability");
826 # endif
827 #endif
828 
829 
830 #if 0
831 # if !1
832 # undef coshf
833 _GL_FUNCDECL_SYS (coshf, float, (float x));
834 # endif
835 _GL_CXXALIAS_SYS (coshf, float, (float x));
836 _GL_CXXALIASWARN (coshf);
837 #elif defined GNULIB_POSIXCHECK
838 # undef coshf
839 # if HAVE_RAW_DECL_COSHF
840 _GL_WARN_ON_USE (coshf, "coshf is unportable - "
841  "use gnulib module coshf for portability");
842 # endif
843 #endif
844 
845 
846 #if 0
847 # if !1
848 # undef expf
849 _GL_FUNCDECL_SYS (expf, float, (float x));
850 # endif
851 _GL_CXXALIAS_SYS (expf, float, (float x));
852 _GL_CXXALIASWARN (expf);
853 #elif defined GNULIB_POSIXCHECK
854 # undef expf
855 # if HAVE_RAW_DECL_EXPF
856 _GL_WARN_ON_USE (expf, "expf is unportable - "
857  "use gnulib module expf for portability");
858 # endif
859 #endif
860 
861 #if 0
862 # if !1 || !1
863 # undef expl
864 _GL_FUNCDECL_SYS (expl, long double, (long double x));
865 # endif
866 _GL_CXXALIAS_SYS (expl, long double, (long double x));
867 _GL_CXXALIASWARN (expl);
868 #elif defined GNULIB_POSIXCHECK
869 # undef expl
870 # if HAVE_RAW_DECL_EXPL
871 _GL_WARN_ON_USE (expl, "expl is unportable - "
872  "use gnulib module expl for portability");
873 # endif
874 #endif
875 
876 
877 #if 0
878 # if !1
879 _GL_FUNCDECL_SYS (exp2f, float, (float x));
880 # endif
881 _GL_CXXALIAS_SYS (exp2f, float, (float x));
882 _GL_CXXALIASWARN (exp2f);
883 #elif defined GNULIB_POSIXCHECK
884 # undef exp2f
885 # if HAVE_RAW_DECL_EXP2F
886 _GL_WARN_ON_USE (exp2f, "exp2f is unportable - "
887  "use gnulib module exp2f for portability");
888 # endif
889 #endif
890 
891 #if 0
892 # if 0
893 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
894 # undef exp2
895 # define exp2 rpl_exp2
896 # endif
897 _GL_FUNCDECL_RPL (exp2, double, (double x));
898 _GL_CXXALIAS_RPL (exp2, double, (double x));
899 # else
900 # if !1
901 _GL_FUNCDECL_SYS (exp2, double, (double x));
902 # endif
903 _GL_CXXALIAS_SYS (exp2, double, (double x));
904 # endif
905 _GL_CXXALIASWARN (exp2);
906 #elif defined GNULIB_POSIXCHECK
907 # undef exp2
908 # if HAVE_RAW_DECL_EXP2
909 _GL_WARN_ON_USE (exp2, "exp2 is unportable - "
910  "use gnulib module exp2 for portability");
911 # endif
912 #endif
913 
914 #if 0
915 # if 0
916 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
917 # undef exp2l
918 # define exp2l rpl_exp2l
919 # endif
920 _GL_FUNCDECL_RPL (exp2l, long double, (long double x));
921 _GL_CXXALIAS_RPL (exp2l, long double, (long double x));
922 # else
923 # if !1
924 # undef exp2l
925 _GL_FUNCDECL_SYS (exp2l, long double, (long double x));
926 # endif
927 _GL_CXXALIAS_SYS (exp2l, long double, (long double x));
928 # endif
929 _GL_CXXALIASWARN (exp2l);
930 #elif defined GNULIB_POSIXCHECK
931 # undef exp2l
932 # if HAVE_RAW_DECL_EXP2L
933 _GL_WARN_ON_USE (exp2l, "exp2l is unportable - "
934  "use gnulib module exp2l for portability");
935 # endif
936 #endif
937 
938 
939 #if 0
940 # if 0
941 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
942 # undef expm1f
943 # define expm1f rpl_expm1f
944 # endif
945 _GL_FUNCDECL_RPL (expm1f, float, (float x));
946 _GL_CXXALIAS_RPL (expm1f, float, (float x));
947 # else
948 # if !1
949 _GL_FUNCDECL_SYS (expm1f, float, (float x));
950 # endif
951 _GL_CXXALIAS_SYS (expm1f, float, (float x));
952 # endif
953 _GL_CXXALIASWARN (expm1f);
954 #elif defined GNULIB_POSIXCHECK
955 # undef expm1f
956 # if HAVE_RAW_DECL_EXPM1F
957 _GL_WARN_ON_USE (expm1f, "expm1f is unportable - "
958  "use gnulib module expm1f for portability");
959 # endif
960 #endif
961 
962 #if 0
963 # if 0
964 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
965 # undef expm1
966 # define expm1 rpl_expm1
967 # endif
968 _GL_FUNCDECL_RPL (expm1, double, (double x));
969 _GL_CXXALIAS_RPL (expm1, double, (double x));
970 # else
971 # if !1
972 _GL_FUNCDECL_SYS (expm1, double, (double x));
973 # endif
974 _GL_CXXALIAS_SYS (expm1, double, (double x));
975 # endif
976 _GL_CXXALIASWARN (expm1);
977 #elif defined GNULIB_POSIXCHECK
978 # undef expm1
979 # if HAVE_RAW_DECL_EXPM1
980 _GL_WARN_ON_USE (expm1, "expm1 is unportable - "
981  "use gnulib module expm1 for portability");
982 # endif
983 #endif
984 
985 #if 0
986 # if !1
987 # undef expm1l
988 _GL_FUNCDECL_SYS (expm1l, long double, (long double x));
989 # endif
990 _GL_CXXALIAS_SYS (expm1l, long double, (long double x));
991 _GL_CXXALIASWARN (expm1l);
992 #elif defined GNULIB_POSIXCHECK
993 # undef expm1l
994 # if HAVE_RAW_DECL_EXPM1L
995 _GL_WARN_ON_USE (expm1l, "expm1l is unportable - "
996  "use gnulib module expm1l for portability");
997 # endif
998 #endif
999 
1000 
1001 #if 0
1002 # if !1
1003 # undef fabsf
1004 _GL_FUNCDECL_SYS (fabsf, float, (float x));
1005 # endif
1006 _GL_CXXALIAS_SYS (fabsf, float, (float x));
1007 _GL_CXXALIASWARN (fabsf);
1008 #elif defined GNULIB_POSIXCHECK
1009 # undef fabsf
1010 # if HAVE_RAW_DECL_FABSF
1011 _GL_WARN_ON_USE (fabsf, "fabsf is unportable - "
1012  "use gnulib module fabsf for portability");
1013 # endif
1014 #endif
1015 
1016 #if 0
1017 # if 0
1018 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1019 # undef fabsl
1020 # define fabsl rpl_fabsl
1021 # endif
1022 _GL_FUNCDECL_RPL (fabsl, long double, (long double x));
1023 _GL_CXXALIAS_RPL (fabsl, long double, (long double x));
1024 # else
1025 # if !1
1026 # undef fabsl
1027 _GL_FUNCDECL_SYS (fabsl, long double, (long double x));
1028 # endif
1029 _GL_CXXALIAS_SYS (fabsl, long double, (long double x));
1030 # endif
1031 _GL_CXXALIASWARN (fabsl);
1032 #elif defined GNULIB_POSIXCHECK
1033 # undef fabsl
1034 # if HAVE_RAW_DECL_FABSL
1035 _GL_WARN_ON_USE (fabsl, "fabsl is unportable - "
1036  "use gnulib module fabsl for portability");
1037 # endif
1038 #endif
1039 
1040 
1041 #if 0
1042 # if 0
1043 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1044 # undef floorf
1045 # define floorf rpl_floorf
1046 # endif
1047 _GL_FUNCDECL_RPL (floorf, float, (float x));
1048 _GL_CXXALIAS_RPL (floorf, float, (float x));
1049 # else
1050 # if !1
1051 # undef floorf
1052 _GL_FUNCDECL_SYS (floorf, float, (float x));
1053 # endif
1054 _GL_CXXALIAS_SYS (floorf, float, (float x));
1055 # endif
1056 _GL_CXXALIASWARN (floorf);
1057 #elif defined GNULIB_POSIXCHECK
1058 # undef floorf
1059 # if HAVE_RAW_DECL_FLOORF
1060 _GL_WARN_ON_USE (floorf, "floorf is unportable - "
1061  "use gnulib module floorf for portability");
1062 # endif
1063 #endif
1064 
1065 #if 0
1066 # if 0
1067 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1068 # define floor rpl_floor
1069 # endif
1070 _GL_FUNCDECL_RPL (floor, double, (double x));
1071 _GL_CXXALIAS_RPL (floor, double, (double x));
1072 # else
1073 _GL_CXXALIAS_SYS (floor, double, (double x));
1074 # endif
1075 _GL_CXXALIASWARN (floor);
1076 #endif
1077 
1078 #if 0
1079 # if 0
1080 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1081 # undef floorl
1082 # define floorl rpl_floorl
1083 # endif
1084 _GL_FUNCDECL_RPL (floorl, long double, (long double x));
1085 _GL_CXXALIAS_RPL (floorl, long double, (long double x));
1086 # else
1087 # if !1
1088 # undef floorl
1089 _GL_FUNCDECL_SYS (floorl, long double, (long double x));
1090 # endif
1091 _GL_CXXALIAS_SYS (floorl, long double, (long double x));
1092 # endif
1093 _GL_CXXALIASWARN (floorl);
1094 #elif defined GNULIB_POSIXCHECK
1095 # undef floorl
1096 # if HAVE_RAW_DECL_FLOORL
1097 _GL_WARN_ON_USE (floorl, "floorl is unportable - "
1098  "use gnulib module floorl for portability");
1099 # endif
1100 #endif
1101 
1102 
1103 #if 0
1104 # if 0
1105 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1106 # undef fmaf
1107 # define fmaf rpl_fmaf
1108 # endif
1109 _GL_FUNCDECL_RPL (fmaf, float, (float x, float y, float z));
1110 _GL_CXXALIAS_RPL (fmaf, float, (float x, float y, float z));
1111 # else
1112 # if !1
1113 _GL_FUNCDECL_SYS (fmaf, float, (float x, float y, float z));
1114 # endif
1115 _GL_CXXALIAS_SYS (fmaf, float, (float x, float y, float z));
1116 # endif
1117 _GL_CXXALIASWARN (fmaf);
1118 #elif defined GNULIB_POSIXCHECK
1119 # undef fmaf
1120 # if HAVE_RAW_DECL_FMAF
1121 _GL_WARN_ON_USE (fmaf, "fmaf is unportable - "
1122  "use gnulib module fmaf for portability");
1123 # endif
1124 #endif
1125 
1126 #if 0
1127 # if 0
1128 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1129 # undef fma
1130 # define fma rpl_fma
1131 # endif
1132 _GL_FUNCDECL_RPL (fma, double, (double x, double y, double z));
1133 _GL_CXXALIAS_RPL (fma, double, (double x, double y, double z));
1134 # else
1135 # if !1
1136 _GL_FUNCDECL_SYS (fma, double, (double x, double y, double z));
1137 # endif
1138 _GL_CXXALIAS_SYS (fma, double, (double x, double y, double z));
1139 # endif
1140 _GL_CXXALIASWARN (fma);
1141 #elif defined GNULIB_POSIXCHECK
1142 # undef fma
1143 # if HAVE_RAW_DECL_FMA
1144 _GL_WARN_ON_USE (fma, "fma is unportable - "
1145  "use gnulib module fma for portability");
1146 # endif
1147 #endif
1148 
1149 #if 0
1150 # if 0
1151 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1152 # undef fmal
1153 # define fmal rpl_fmal
1154 # endif
1155 _GL_FUNCDECL_RPL (fmal, long double,
1156  (long double x, long double y, long double z));
1157 _GL_CXXALIAS_RPL (fmal, long double,
1158  (long double x, long double y, long double z));
1159 # else
1160 # if !1
1161 # undef fmal
1162 _GL_FUNCDECL_SYS (fmal, long double,
1163  (long double x, long double y, long double z));
1164 # endif
1165 _GL_CXXALIAS_SYS (fmal, long double,
1166  (long double x, long double y, long double z));
1167 # endif
1168 _GL_CXXALIASWARN (fmal);
1169 #elif defined GNULIB_POSIXCHECK
1170 # undef fmal
1171 # if HAVE_RAW_DECL_FMAL
1172 _GL_WARN_ON_USE (fmal, "fmal is unportable - "
1173  "use gnulib module fmal for portability");
1174 # endif
1175 #endif
1176 
1177 
1178 #if 0
1179 # if 0
1180 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1181 # undef fmodf
1182 # define fmodf rpl_fmodf
1183 # endif
1184 _GL_FUNCDECL_RPL (fmodf, float, (float x, float y));
1185 _GL_CXXALIAS_RPL (fmodf, float, (float x, float y));
1186 # else
1187 # if !1
1188 # undef fmodf
1189 _GL_FUNCDECL_SYS (fmodf, float, (float x, float y));
1190 # endif
1191 _GL_CXXALIAS_SYS (fmodf, float, (float x, float y));
1192 # endif
1193 _GL_CXXALIASWARN (fmodf);
1194 #elif defined GNULIB_POSIXCHECK
1195 # undef fmodf
1196 # if HAVE_RAW_DECL_FMODF
1197 _GL_WARN_ON_USE (fmodf, "fmodf is unportable - "
1198  "use gnulib module fmodf for portability");
1199 # endif
1200 #endif
1201 
1202 #if 0
1203 # if 0
1204 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1205 # undef fmod
1206 # define fmod rpl_fmod
1207 # endif
1208 _GL_FUNCDECL_RPL (fmod, double, (double x, double y));
1209 _GL_CXXALIAS_RPL (fmod, double, (double x, double y));
1210 # else
1211 _GL_CXXALIAS_SYS (fmod, double, (double x, double y));
1212 # endif
1213 _GL_CXXALIASWARN (fmod);
1214 #elif defined GNULIB_POSIXCHECK
1215 # undef fmod
1216 # if HAVE_RAW_DECL_FMOD
1217 _GL_WARN_ON_USE (fmod, "fmod has portability problems - "
1218  "use gnulib module fmod for portability");
1219 # endif
1220 #endif
1221 
1222 #if 0
1223 # if 0
1224 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1225 # undef fmodl
1226 # define fmodl rpl_fmodl
1227 # endif
1228 _GL_FUNCDECL_RPL (fmodl, long double, (long double x, long double y));
1229 _GL_CXXALIAS_RPL (fmodl, long double, (long double x, long double y));
1230 # else
1231 # if !1
1232 # undef fmodl
1233 _GL_FUNCDECL_SYS (fmodl, long double, (long double x, long double y));
1234 # endif
1235 _GL_CXXALIAS_SYS (fmodl, long double, (long double x, long double y));
1236 # endif
1237 _GL_CXXALIASWARN (fmodl);
1238 #elif defined GNULIB_POSIXCHECK
1239 # undef fmodl
1240 # if HAVE_RAW_DECL_FMODL
1241 _GL_WARN_ON_USE (fmodl, "fmodl is unportable - "
1242  "use gnulib module fmodl for portability");
1243 # endif
1244 #endif
1245 
1246 
1247 /* Write x as
1248  x = mantissa * 2^exp
1249  where
1250  If x finite and nonzero: 0.5 <= |mantissa| < 1.0.
1251  If x is zero: mantissa = x, exp = 0.
1252  If x is infinite or NaN: mantissa = x, exp unspecified.
1253  Store exp in *EXPPTR and return mantissa. */
1254 #if 0
1255 # if 0
1256 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1257 # undef frexpf
1258 # define frexpf rpl_frexpf
1259 # endif
1260 _GL_FUNCDECL_RPL (frexpf, float, (float x, int *expptr) _GL_ARG_NONNULL ((2)));
1261 _GL_CXXALIAS_RPL (frexpf, float, (float x, int *expptr));
1262 # else
1263 # if !1
1264 # undef frexpf
1265 _GL_FUNCDECL_SYS (frexpf, float, (float x, int *expptr) _GL_ARG_NONNULL ((2)));
1266 # endif
1267 _GL_CXXALIAS_SYS (frexpf, float, (float x, int *expptr));
1268 # endif
1269 _GL_CXXALIASWARN (frexpf);
1270 #elif defined GNULIB_POSIXCHECK
1271 # undef frexpf
1272 # if HAVE_RAW_DECL_FREXPF
1273 _GL_WARN_ON_USE (frexpf, "frexpf is unportable - "
1274  "use gnulib module frexpf for portability");
1275 # endif
1276 #endif
1277 
1278 /* Write x as
1279  x = mantissa * 2^exp
1280  where
1281  If x finite and nonzero: 0.5 <= |mantissa| < 1.0.
1282  If x is zero: mantissa = x, exp = 0.
1283  If x is infinite or NaN: mantissa = x, exp unspecified.
1284  Store exp in *EXPPTR and return mantissa. */
1285 #if 0
1286 # if 0
1287 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1288 # define frexp rpl_frexp
1289 # endif
1290 _GL_FUNCDECL_RPL (frexp, double, (double x, int *expptr) _GL_ARG_NONNULL ((2)));
1291 _GL_CXXALIAS_RPL (frexp, double, (double x, int *expptr));
1292 # else
1293 _GL_CXXALIAS_SYS (frexp, double, (double x, int *expptr));
1294 # endif
1295 _GL_CXXALIASWARN (frexp);
1296 #elif defined GNULIB_POSIXCHECK
1297 # undef frexp
1298 /* Assume frexp is always declared. */
1299 _GL_WARN_ON_USE (frexp, "frexp is unportable - "
1300  "use gnulib module frexp for portability");
1301 #endif
1302 
1303 /* Write x as
1304  x = mantissa * 2^exp
1305  where
1306  If x finite and nonzero: 0.5 <= |mantissa| < 1.0.
1307  If x is zero: mantissa = x, exp = 0.
1308  If x is infinite or NaN: mantissa = x, exp unspecified.
1309  Store exp in *EXPPTR and return mantissa. */
1310 #if 0 && 0
1311 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1312 # undef frexpl
1313 # define frexpl rpl_frexpl
1314 # endif
1315 _GL_FUNCDECL_RPL (frexpl, long double,
1316  (long double x, int *expptr) _GL_ARG_NONNULL ((2)));
1317 _GL_CXXALIAS_RPL (frexpl, long double, (long double x, int *expptr));
1318 #else
1319 # if !1
1320 _GL_FUNCDECL_SYS (frexpl, long double,
1321  (long double x, int *expptr) _GL_ARG_NONNULL ((2)));
1322 # endif
1323 # if 0
1324 _GL_CXXALIAS_SYS (frexpl, long double, (long double x, int *expptr));
1325 # endif
1326 #endif
1327 #if 0 && !(0 && !1)
1328 _GL_CXXALIASWARN (frexpl);
1329 #endif
1330 #if !0 && defined GNULIB_POSIXCHECK
1331 # undef frexpl
1332 # if HAVE_RAW_DECL_FREXPL
1333 _GL_WARN_ON_USE (frexpl, "frexpl is unportable - "
1334  "use gnulib module frexpl for portability");
1335 # endif
1336 #endif
1337 
1338 
1339 /* Return sqrt(x^2+y^2). */
1340 #if 0
1341 # if 0
1342 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1343 # undef hypotf
1344 # define hypotf rpl_hypotf
1345 # endif
1346 _GL_FUNCDECL_RPL (hypotf, float, (float x, float y));
1347 _GL_CXXALIAS_RPL (hypotf, float, (float x, float y));
1348 # else
1349 # if !1
1350 _GL_FUNCDECL_SYS (hypotf, float, (float x, float y));
1351 # endif
1352 _GL_CXXALIAS_SYS (hypotf, float, (float x, float y));
1353 # endif
1354 _GL_CXXALIASWARN (hypotf);
1355 #elif defined GNULIB_POSIXCHECK
1356 # undef hypotf
1357 # if HAVE_RAW_DECL_HYPOTF
1358 _GL_WARN_ON_USE (hypotf, "hypotf is unportable - "
1359  "use gnulib module hypotf for portability");
1360 # endif
1361 #endif
1362 
1363 /* Return sqrt(x^2+y^2). */
1364 #if 0
1365 # if 0
1366 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1367 # undef hypot
1368 # define hypot rpl_hypot
1369 # endif
1370 _GL_FUNCDECL_RPL (hypot, double, (double x, double y));
1371 _GL_CXXALIAS_RPL (hypot, double, (double x, double y));
1372 # else
1373 _GL_CXXALIAS_SYS (hypot, double, (double x, double y));
1374 # endif
1375 _GL_CXXALIASWARN (hypot);
1376 #elif defined GNULIB_POSIXCHECK
1377 # undef hypot
1378 # if HAVE_RAW_DECL_HYPOT
1379 _GL_WARN_ON_USE (hypotf, "hypot has portability problems - "
1380  "use gnulib module hypot for portability");
1381 # endif
1382 #endif
1383 
1384 /* Return sqrt(x^2+y^2). */
1385 #if 0
1386 # if 0
1387 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1388 # undef hypotl
1389 # define hypotl rpl_hypotl
1390 # endif
1391 _GL_FUNCDECL_RPL (hypotl, long double, (long double x, long double y));
1392 _GL_CXXALIAS_RPL (hypotl, long double, (long double x, long double y));
1393 # else
1394 # if !1
1395 _GL_FUNCDECL_SYS (hypotl, long double, (long double x, long double y));
1396 # endif
1397 _GL_CXXALIAS_SYS (hypotl, long double, (long double x, long double y));
1398 # endif
1399 _GL_CXXALIASWARN (hypotl);
1400 #elif defined GNULIB_POSIXCHECK
1401 # undef hypotl
1402 # if HAVE_RAW_DECL_HYPOTL
1403 _GL_WARN_ON_USE (hypotl, "hypotl is unportable - "
1404  "use gnulib module hypotl for portability");
1405 # endif
1406 #endif
1407 
1408 
1409 #if 0
1410 # if 0
1411 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1412 # undef ilogbf
1413 # define ilogbf rpl_ilogbf
1414 # endif
1415 _GL_FUNCDECL_RPL (ilogbf, int, (float x));
1416 _GL_CXXALIAS_RPL (ilogbf, int, (float x));
1417 # else
1418 # if !1
1419 _GL_FUNCDECL_SYS (ilogbf, int, (float x));
1420 # endif
1421 _GL_CXXALIAS_SYS (ilogbf, int, (float x));
1422 # endif
1423 _GL_CXXALIASWARN (ilogbf);
1424 #elif defined GNULIB_POSIXCHECK
1425 # undef ilogbf
1426 # if HAVE_RAW_DECL_ILOGBF
1427 _GL_WARN_ON_USE (ilogbf, "ilogbf is unportable - "
1428  "use gnulib module ilogbf for portability");
1429 # endif
1430 #endif
1431 
1432 #if 0
1433 # if 0
1434 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1435 # undef ilogb
1436 # define ilogb rpl_ilogb
1437 # endif
1438 _GL_FUNCDECL_RPL (ilogb, int, (double x));
1439 _GL_CXXALIAS_RPL (ilogb, int, (double x));
1440 # else
1441 # if !1
1442 _GL_FUNCDECL_SYS (ilogb, int, (double x));
1443 # endif
1444 _GL_CXXALIAS_SYS (ilogb, int, (double x));
1445 # endif
1446 _GL_CXXALIASWARN (ilogb);
1447 #elif defined GNULIB_POSIXCHECK
1448 # undef ilogb
1449 # if HAVE_RAW_DECL_ILOGB
1450 _GL_WARN_ON_USE (ilogb, "ilogb is unportable - "
1451  "use gnulib module ilogb for portability");
1452 # endif
1453 #endif
1454 
1455 #if 0
1456 # if !1
1457 _GL_FUNCDECL_SYS (ilogbl, int, (long double x));
1458 # endif
1459 _GL_CXXALIAS_SYS (ilogbl, int, (long double x));
1460 _GL_CXXALIASWARN (ilogbl);
1461 #elif defined GNULIB_POSIXCHECK
1462 # undef ilogbl
1463 # if HAVE_RAW_DECL_ILOGBL
1464 _GL_WARN_ON_USE (ilogbl, "ilogbl is unportable - "
1465  "use gnulib module ilogbl for portability");
1466 # endif
1467 #endif
1468 
1469 
1470 /* Return x * 2^exp. */
1471 #if 0
1472 # if !1
1473 # undef ldexpf
1474 _GL_FUNCDECL_SYS (ldexpf, float, (float x, int exp));
1475 # endif
1476 _GL_CXXALIAS_SYS (ldexpf, float, (float x, int exp));
1477 _GL_CXXALIASWARN (ldexpf);
1478 #elif defined GNULIB_POSIXCHECK
1479 # undef ldexpf
1480 # if HAVE_RAW_DECL_LDEXPF
1481 _GL_WARN_ON_USE (ldexpf, "ldexpf is unportable - "
1482  "use gnulib module ldexpf for portability");
1483 # endif
1484 #endif
1485 
1486 /* Return x * 2^exp. */
1487 #if 0 && 0
1488 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1489 # undef ldexpl
1490 # define ldexpl rpl_ldexpl
1491 # endif
1492 _GL_FUNCDECL_RPL (ldexpl, long double, (long double x, int exp));
1493 _GL_CXXALIAS_RPL (ldexpl, long double, (long double x, int exp));
1494 #else
1495 # if !1
1496 _GL_FUNCDECL_SYS (ldexpl, long double, (long double x, int exp));
1497 # endif
1498 # if 0
1499 _GL_CXXALIAS_SYS (ldexpl, long double, (long double x, int exp));
1500 # endif
1501 #endif
1502 #if 0
1503 _GL_CXXALIASWARN (ldexpl);
1504 #endif
1505 #if !0 && defined GNULIB_POSIXCHECK
1506 # undef ldexpl
1507 # if HAVE_RAW_DECL_LDEXPL
1508 _GL_WARN_ON_USE (ldexpl, "ldexpl is unportable - "
1509  "use gnulib module ldexpl for portability");
1510 # endif
1511 #endif
1512 
1513 
1514 #if 0
1515 # if 0
1516 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1517 # undef logf
1518 # define logf rpl_logf
1519 # endif
1520 _GL_FUNCDECL_RPL (logf, float, (float x));
1521 _GL_CXXALIAS_RPL (logf, float, (float x));
1522 # else
1523 # if !1
1524 # undef logf
1525 _GL_FUNCDECL_SYS (logf, float, (float x));
1526 # endif
1527 _GL_CXXALIAS_SYS (logf, float, (float x));
1528 # endif
1529 _GL_CXXALIASWARN (logf);
1530 #elif defined GNULIB_POSIXCHECK
1531 # undef logf
1532 # if HAVE_RAW_DECL_LOGF
1533 _GL_WARN_ON_USE (logf, "logf is unportable - "
1534  "use gnulib module logf for portability");
1535 # endif
1536 #endif
1537 
1538 #if 0
1539 # if 0
1540 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1541 # undef log
1542 # define log rpl_log
1543 # endif
1544 _GL_FUNCDECL_RPL (log, double, (double x));
1545 _GL_CXXALIAS_RPL (log, double, (double x));
1546 # else
1547 _GL_CXXALIAS_SYS (log, double, (double x));
1548 # endif
1549 _GL_CXXALIASWARN (log);
1550 #elif defined GNULIB_POSIXCHECK
1551 # undef log
1552 # if HAVE_RAW_DECL_LOG
1553 _GL_WARN_ON_USE (log, "log has portability problems - "
1554  "use gnulib module log for portability");
1555 # endif
1556 #endif
1557 
1558 #if 0
1559 # if 0
1560 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1561 # undef logl
1562 # define logl rpl_logl
1563 # endif
1564 _GL_FUNCDECL_RPL (logl, long double, (long double x));
1565 _GL_CXXALIAS_RPL (logl, long double, (long double x));
1566 # else
1567 # if !1 || !1
1568 # undef logl
1569 _GL_FUNCDECL_SYS (logl, long double, (long double x));
1570 # endif
1571 _GL_CXXALIAS_SYS (logl, long double, (long double x));
1572 # endif
1573 _GL_CXXALIASWARN (logl);
1574 #elif defined GNULIB_POSIXCHECK
1575 # undef logl
1576 # if HAVE_RAW_DECL_LOGL
1577 _GL_WARN_ON_USE (logl, "logl is unportable - "
1578  "use gnulib module logl for portability");
1579 # endif
1580 #endif
1581 
1582 
1583 #if 0
1584 # if 0
1585 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1586 # undef log10f
1587 # define log10f rpl_log10f
1588 # endif
1589 _GL_FUNCDECL_RPL (log10f, float, (float x));
1590 _GL_CXXALIAS_RPL (log10f, float, (float x));
1591 # else
1592 # if !1
1593 # undef log10f
1594 _GL_FUNCDECL_SYS (log10f, float, (float x));
1595 # endif
1596 _GL_CXXALIAS_SYS (log10f, float, (float x));
1597 # endif
1598 _GL_CXXALIASWARN (log10f);
1599 #elif defined GNULIB_POSIXCHECK
1600 # undef log10f
1601 # if HAVE_RAW_DECL_LOG10F
1602 _GL_WARN_ON_USE (log10f, "log10f is unportable - "
1603  "use gnulib module log10f for portability");
1604 # endif
1605 #endif
1606 
1607 #if 0
1608 # if 0
1609 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1610 # undef log10
1611 # define log10 rpl_log10
1612 # endif
1613 _GL_FUNCDECL_RPL (log10, double, (double x));
1614 _GL_CXXALIAS_RPL (log10, double, (double x));
1615 # else
1616 _GL_CXXALIAS_SYS (log10, double, (double x));
1617 # endif
1618 _GL_CXXALIASWARN (log10);
1619 #elif defined GNULIB_POSIXCHECK
1620 # undef log10
1621 # if HAVE_RAW_DECL_LOG10
1622 _GL_WARN_ON_USE (log10, "log10 has portability problems - "
1623  "use gnulib module log10 for portability");
1624 # endif
1625 #endif
1626 
1627 #if 0
1628 # if 0
1629 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1630 # undef log10l
1631 # define log10l rpl_log10l
1632 # endif
1633 _GL_FUNCDECL_RPL (log10l, long double, (long double x));
1634 _GL_CXXALIAS_RPL (log10l, long double, (long double x));
1635 # else
1636 # if !1 || !1
1637 # undef log10l
1638 _GL_FUNCDECL_SYS (log10l, long double, (long double x));
1639 # endif
1640 _GL_CXXALIAS_SYS (log10l, long double, (long double x));
1641 # endif
1642 _GL_CXXALIASWARN (log10l);
1643 #elif defined GNULIB_POSIXCHECK
1644 # undef log10l
1645 # if HAVE_RAW_DECL_LOG10L
1646 _GL_WARN_ON_USE (log10l, "log10l is unportable - "
1647  "use gnulib module log10l for portability");
1648 # endif
1649 #endif
1650 
1651 
1652 #if 0
1653 # if 0
1654 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1655 # undef log1pf
1656 # define log1pf rpl_log1pf
1657 # endif
1658 _GL_FUNCDECL_RPL (log1pf, float, (float x));
1659 _GL_CXXALIAS_RPL (log1pf, float, (float x));
1660 # else
1661 # if !1
1662 _GL_FUNCDECL_SYS (log1pf, float, (float x));
1663 # endif
1664 _GL_CXXALIAS_SYS (log1pf, float, (float x));
1665 # endif
1666 _GL_CXXALIASWARN (log1pf);
1667 #elif defined GNULIB_POSIXCHECK
1668 # undef log1pf
1669 # if HAVE_RAW_DECL_LOG1PF
1670 _GL_WARN_ON_USE (log1pf, "log1pf is unportable - "
1671  "use gnulib module log1pf for portability");
1672 # endif
1673 #endif
1674 
1675 #if 0
1676 # if 0
1677 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1678 # undef log1p
1679 # define log1p rpl_log1p
1680 # endif
1681 _GL_FUNCDECL_RPL (log1p, double, (double x));
1682 _GL_CXXALIAS_RPL (log1p, double, (double x));
1683 # else
1684 # if !1
1685 _GL_FUNCDECL_SYS (log1p, double, (double x));
1686 # endif
1687 _GL_CXXALIAS_SYS (log1p, double, (double x));
1688 # endif
1689 _GL_CXXALIASWARN (log1p);
1690 #elif defined GNULIB_POSIXCHECK
1691 # undef log1p
1692 # if HAVE_RAW_DECL_LOG1P
1693 _GL_WARN_ON_USE (log1p, "log1p has portability problems - "
1694  "use gnulib module log1p for portability");
1695 # endif
1696 #endif
1697 
1698 #if 0
1699 # if 0
1700 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1701 # undef log1pl
1702 # define log1pl rpl_log1pl
1703 # endif
1704 _GL_FUNCDECL_RPL (log1pl, long double, (long double x));
1705 _GL_CXXALIAS_RPL (log1pl, long double, (long double x));
1706 # else
1707 # if !1
1708 _GL_FUNCDECL_SYS (log1pl, long double, (long double x));
1709 # endif
1710 _GL_CXXALIAS_SYS (log1pl, long double, (long double x));
1711 # endif
1712 _GL_CXXALIASWARN (log1pl);
1713 #elif defined GNULIB_POSIXCHECK
1714 # undef log1pl
1715 # if HAVE_RAW_DECL_LOG1PL
1716 _GL_WARN_ON_USE (log1pl, "log1pl has portability problems - "
1717  "use gnulib module log1pl for portability");
1718 # endif
1719 #endif
1720 
1721 
1722 #if 0
1723 # if 0
1724 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1725 # undef log2f
1726 # define log2f rpl_log2f
1727 # endif
1728 _GL_FUNCDECL_RPL (log2f, float, (float x));
1729 _GL_CXXALIAS_RPL (log2f, float, (float x));
1730 # else
1731 # if !1
1732 # undef log2f
1733 _GL_FUNCDECL_SYS (log2f, float, (float x));
1734 # endif
1735 _GL_CXXALIAS_SYS (log2f, float, (float x));
1736 # endif
1737 _GL_CXXALIASWARN (log2f);
1738 #elif defined GNULIB_POSIXCHECK
1739 # undef log2f
1740 # if HAVE_RAW_DECL_LOG2F
1741 _GL_WARN_ON_USE (log2f, "log2f is unportable - "
1742  "use gnulib module log2f for portability");
1743 # endif
1744 #endif
1745 
1746 #if 0
1747 # if 0
1748 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1749 # undef log2
1750 # define log2 rpl_log2
1751 # endif
1752 _GL_FUNCDECL_RPL (log2, double, (double x));
1753 _GL_CXXALIAS_RPL (log2, double, (double x));
1754 # else
1755 # if !1
1756 # undef log2
1757 _GL_FUNCDECL_SYS (log2, double, (double x));
1758 # endif
1759 _GL_CXXALIAS_SYS (log2, double, (double x));
1760 # endif
1761 _GL_CXXALIASWARN (log2);
1762 #elif defined GNULIB_POSIXCHECK
1763 # undef log2
1764 # if HAVE_RAW_DECL_LOG2
1765 _GL_WARN_ON_USE (log2, "log2 is unportable - "
1766  "use gnulib module log2 for portability");
1767 # endif
1768 #endif
1769 
1770 #if 0
1771 # if 0
1772 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1773 # undef log2l
1774 # define log2l rpl_log2l
1775 # endif
1776 _GL_FUNCDECL_RPL (log2l, long double, (long double x));
1777 _GL_CXXALIAS_RPL (log2l, long double, (long double x));
1778 # else
1779 # if !1
1780 _GL_FUNCDECL_SYS (log2l, long double, (long double x));
1781 # endif
1782 _GL_CXXALIAS_SYS (log2l, long double, (long double x));
1783 # endif
1784 _GL_CXXALIASWARN (log2l);
1785 #elif defined GNULIB_POSIXCHECK
1786 # undef log2l
1787 # if HAVE_RAW_DECL_LOG2L
1788 _GL_WARN_ON_USE (log2l, "log2l is unportable - "
1789  "use gnulib module log2l for portability");
1790 # endif
1791 #endif
1792 
1793 
1794 #if 0
1795 # if 0
1796 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1797 # undef logbf
1798 # define logbf rpl_logbf
1799 # endif
1800 _GL_FUNCDECL_RPL (logbf, float, (float x));
1801 _GL_CXXALIAS_RPL (logbf, float, (float x));
1802 # else
1803 # if !1
1804 _GL_FUNCDECL_SYS (logbf, float, (float x));
1805 # endif
1806 _GL_CXXALIAS_SYS (logbf, float, (float x));
1807 # endif
1808 _GL_CXXALIASWARN (logbf);
1809 #elif defined GNULIB_POSIXCHECK
1810 # undef logbf
1811 # if HAVE_RAW_DECL_LOGBF
1812 _GL_WARN_ON_USE (logbf, "logbf is unportable - "
1813  "use gnulib module logbf for portability");
1814 # endif
1815 #endif
1816 
1817 #if 0
1818 # if 0
1819 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1820 # undef logb
1821 # define logb rpl_logb
1822 # endif
1823 _GL_FUNCDECL_RPL (logb, double, (double x));
1824 _GL_CXXALIAS_RPL (logb, double, (double x));
1825 # else
1826 # if !1
1827 _GL_FUNCDECL_SYS (logb, double, (double x));
1828 # endif
1829 _GL_CXXALIAS_SYS (logb, double, (double x));
1830 # endif
1831 _GL_CXXALIASWARN (logb);
1832 #elif defined GNULIB_POSIXCHECK
1833 # undef logb
1834 # if HAVE_RAW_DECL_LOGB
1835 _GL_WARN_ON_USE (logb, "logb is unportable - "
1836  "use gnulib module logb for portability");
1837 # endif
1838 #endif
1839 
1840 #if 0
1841 # if 0
1842 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1843 # undef logbl
1844 # define logbl rpl_logbl
1845 # endif
1846 _GL_FUNCDECL_RPL (logbl, long double, (long double x));
1847 _GL_CXXALIAS_RPL (logbl, long double, (long double x));
1848 # else
1849 # if !1
1850 _GL_FUNCDECL_SYS (logbl, long double, (long double x));
1851 # endif
1852 _GL_CXXALIAS_SYS (logbl, long double, (long double x));
1853 # endif
1854 _GL_CXXALIASWARN (logbl);
1855 #elif defined GNULIB_POSIXCHECK
1856 # undef logbl
1857 # if HAVE_RAW_DECL_LOGBL
1858 _GL_WARN_ON_USE (logbl, "logbl is unportable - "
1859  "use gnulib module logbl for portability");
1860 # endif
1861 #endif
1862 
1863 
1864 #if 0
1865 # if 0
1866 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1867 # undef modff
1868 # define modff rpl_modff
1869 # endif
1870 _GL_FUNCDECL_RPL (modff, float, (float x, float *iptr) _GL_ARG_NONNULL ((2)));
1871 _GL_CXXALIAS_RPL (modff, float, (float x, float *iptr));
1872 # else
1873 # if !1
1874 # undef modff
1875 _GL_FUNCDECL_SYS (modff, float, (float x, float *iptr) _GL_ARG_NONNULL ((2)));
1876 # endif
1877 _GL_CXXALIAS_SYS (modff, float, (float x, float *iptr));
1878 # endif
1879 _GL_CXXALIASWARN (modff);
1880 #elif defined GNULIB_POSIXCHECK
1881 # undef modff
1882 # if HAVE_RAW_DECL_MODFF
1883 _GL_WARN_ON_USE (modff, "modff is unportable - "
1884  "use gnulib module modff for portability");
1885 # endif
1886 #endif
1887 
1888 #if 0
1889 # if 0
1890 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1891 # undef modf
1892 # define modf rpl_modf
1893 # endif
1894 _GL_FUNCDECL_RPL (modf, double, (double x, double *iptr) _GL_ARG_NONNULL ((2)));
1895 _GL_CXXALIAS_RPL (modf, double, (double x, double *iptr));
1896 # else
1897 _GL_CXXALIAS_SYS (modf, double, (double x, double *iptr));
1898 # endif
1899 _GL_CXXALIASWARN (modf);
1900 #elif defined GNULIB_POSIXCHECK
1901 # undef modf
1902 # if HAVE_RAW_DECL_MODF
1903 _GL_WARN_ON_USE (modf, "modf has portability problems - "
1904  "use gnulib module modf for portability");
1905 # endif
1906 #endif
1907 
1908 #if 0
1909 # if 0
1910 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1911 # undef modfl
1912 # define modfl rpl_modfl
1913 # endif
1914 _GL_FUNCDECL_RPL (modfl, long double, (long double x, long double *iptr)
1915  _GL_ARG_NONNULL ((2)));
1916 _GL_CXXALIAS_RPL (modfl, long double, (long double x, long double *iptr));
1917 # else
1918 # if !1
1919 # undef modfl
1920 _GL_FUNCDECL_SYS (modfl, long double, (long double x, long double *iptr)
1921  _GL_ARG_NONNULL ((2)));
1922 # endif
1923 _GL_CXXALIAS_SYS (modfl, long double, (long double x, long double *iptr));
1924 # endif
1925 _GL_CXXALIASWARN (modfl);
1926 #elif defined GNULIB_POSIXCHECK
1927 # undef modfl
1928 # if HAVE_RAW_DECL_MODFL
1929 _GL_WARN_ON_USE (modfl, "modfl is unportable - "
1930  "use gnulib module modfl for portability");
1931 # endif
1932 #endif
1933 
1934 
1935 #if 0
1936 # if !1
1937 # undef powf
1938 _GL_FUNCDECL_SYS (powf, float, (float x, float y));
1939 # endif
1940 _GL_CXXALIAS_SYS (powf, float, (float x, float y));
1941 _GL_CXXALIASWARN (powf);
1942 #elif defined GNULIB_POSIXCHECK
1943 # undef powf
1944 # if HAVE_RAW_DECL_POWF
1945 _GL_WARN_ON_USE (powf, "powf is unportable - "
1946  "use gnulib module powf for portability");
1947 # endif
1948 #endif
1949 
1950 
1951 #if 0
1952 # if 0
1953 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1954 # undef remainderf
1955 # define remainderf rpl_remainderf
1956 # endif
1957 _GL_FUNCDECL_RPL (remainderf, float, (float x, float y));
1958 _GL_CXXALIAS_RPL (remainderf, float, (float x, float y));
1959 # else
1960 # if !1
1961 _GL_FUNCDECL_SYS (remainderf, float, (float x, float y));
1962 # endif
1963 _GL_CXXALIAS_SYS (remainderf, float, (float x, float y));
1964 # endif
1965 _GL_CXXALIASWARN (remainderf);
1966 #elif defined GNULIB_POSIXCHECK
1967 # undef remainderf
1968 # if HAVE_RAW_DECL_REMAINDERF
1969 _GL_WARN_ON_USE (remainderf, "remainderf is unportable - "
1970  "use gnulib module remainderf for portability");
1971 # endif
1972 #endif
1973 
1974 #if 0
1975 # if 0
1976 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1977 # undef remainder
1978 # define remainder rpl_remainder
1979 # endif
1980 _GL_FUNCDECL_RPL (remainder, double, (double x, double y));
1981 _GL_CXXALIAS_RPL (remainder, double, (double x, double y));
1982 # else
1983 # if !1 || !1
1984 _GL_FUNCDECL_SYS (remainder, double, (double x, double y));
1985 # endif
1986 _GL_CXXALIAS_SYS (remainder, double, (double x, double y));
1987 # endif
1988 _GL_CXXALIASWARN (remainder);
1989 #elif defined GNULIB_POSIXCHECK
1990 # undef remainder
1991 # if HAVE_RAW_DECL_REMAINDER
1992 _GL_WARN_ON_USE (remainder, "remainder is unportable - "
1993  "use gnulib module remainder for portability");
1994 # endif
1995 #endif
1996 
1997 #if 0
1998 # if 0
1999 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
2000 # undef remainderl
2001 # define remainderl rpl_remainderl
2002 # endif
2003 _GL_FUNCDECL_RPL (remainderl, long double, (long double x, long double y));
2004 _GL_CXXALIAS_RPL (remainderl, long double, (long double x, long double y));
2005 # else
2006 # if !1
2007 # undef remainderl
2008 _GL_FUNCDECL_SYS (remainderl, long double, (long double x, long double y));
2009 # endif
2010 _GL_CXXALIAS_SYS (remainderl, long double, (long double x, long double y));
2011 # endif
2012 _GL_CXXALIASWARN (remainderl);
2013 #elif defined GNULIB_POSIXCHECK
2014 # undef remainderl
2015 # if HAVE_RAW_DECL_REMAINDERL
2016 _GL_WARN_ON_USE (remainderl, "remainderl is unportable - "
2017  "use gnulib module remainderl for portability");
2018 # endif
2019 #endif
2020 
2021 
2022 #if 0
2023 # if !1
2024 _GL_FUNCDECL_SYS (rintf, float, (float x));
2025 # endif
2026 _GL_CXXALIAS_SYS (rintf, float, (float x));
2027 _GL_CXXALIASWARN (rintf);
2028 #elif defined GNULIB_POSIXCHECK
2029 # undef rintf
2030 # if HAVE_RAW_DECL_RINTF
2031 _GL_WARN_ON_USE (rintf, "rintf is unportable - "
2032  "use gnulib module rintf for portability");
2033 # endif
2034 #endif
2035 
2036 #if 0
2037 # if !1
2038 _GL_FUNCDECL_SYS (rint, double, (double x));
2039 # endif
2040 _GL_CXXALIAS_SYS (rint, double, (double x));
2041 _GL_CXXALIASWARN (rint);
2042 #elif defined GNULIB_POSIXCHECK
2043 # undef rint
2044 # if HAVE_RAW_DECL_RINT
2045 _GL_WARN_ON_USE (rint, "rint is unportable - "
2046  "use gnulib module rint for portability");
2047 # endif
2048 #endif
2049 
2050 #if 0
2051 # if !1
2052 _GL_FUNCDECL_SYS (rintl, long double, (long double x));
2053 # endif
2054 _GL_CXXALIAS_SYS (rintl, long double, (long double x));
2055 _GL_CXXALIASWARN (rintl);
2056 #elif defined GNULIB_POSIXCHECK
2057 # undef rintl
2058 # if HAVE_RAW_DECL_RINTL
2059 _GL_WARN_ON_USE (rintl, "rintl is unportable - "
2060  "use gnulib module rintl for portability");
2061 # endif
2062 #endif
2063 
2064 
2065 #if 0
2066 # if 0
2067 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
2068 # undef roundf
2069 # define roundf rpl_roundf
2070 # endif
2071 _GL_FUNCDECL_RPL (roundf, float, (float x));
2072 _GL_CXXALIAS_RPL (roundf, float, (float x));
2073 # else
2074 # if !1
2075 _GL_FUNCDECL_SYS (roundf, float, (float x));
2076 # endif
2077 _GL_CXXALIAS_SYS (roundf, float, (float x));
2078 # endif
2079 _GL_CXXALIASWARN (roundf);
2080 #elif defined GNULIB_POSIXCHECK
2081 # undef roundf
2082 # if HAVE_RAW_DECL_ROUNDF
2083 _GL_WARN_ON_USE (roundf, "roundf is unportable - "
2084  "use gnulib module roundf for portability");
2085 # endif
2086 #endif
2087 
2088 #if 0
2089 # if 0
2090 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
2091 # undef round
2092 # define round rpl_round
2093 # endif
2094 _GL_FUNCDECL_RPL (round, double, (double x));
2095 _GL_CXXALIAS_RPL (round, double, (double x));
2096 # else
2097 # if !1
2098 _GL_FUNCDECL_SYS (round, double, (double x));
2099 # endif
2100 _GL_CXXALIAS_SYS (round, double, (double x));
2101 # endif
2102 _GL_CXXALIASWARN (round);
2103 #elif defined GNULIB_POSIXCHECK
2104 # undef round
2105 # if HAVE_RAW_DECL_ROUND
2106 _GL_WARN_ON_USE (round, "round is unportable - "
2107  "use gnulib module round for portability");
2108 # endif
2109 #endif
2110 
2111 #if 0
2112 # if 0
2113 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
2114 # undef roundl
2115 # define roundl rpl_roundl
2116 # endif
2117 _GL_FUNCDECL_RPL (roundl, long double, (long double x));
2118 _GL_CXXALIAS_RPL (roundl, long double, (long double x));
2119 # else
2120 # if !1
2121 # undef roundl
2122 _GL_FUNCDECL_SYS (roundl, long double, (long double x));
2123 # endif
2124 _GL_CXXALIAS_SYS (roundl, long double, (long double x));
2125 # endif
2126 _GL_CXXALIASWARN (roundl);
2127 #elif defined GNULIB_POSIXCHECK
2128 # undef roundl
2129 # if HAVE_RAW_DECL_ROUNDL
2130 _GL_WARN_ON_USE (roundl, "roundl is unportable - "
2131  "use gnulib module roundl for portability");
2132 # endif
2133 #endif
2134 
2135 
2136 #if 0
2137 # if !1
2138 # undef sinf
2139 _GL_FUNCDECL_SYS (sinf, float, (float x));
2140 # endif
2141 _GL_CXXALIAS_SYS (sinf, float, (float x));
2142 _GL_CXXALIASWARN (sinf);
2143 #elif defined GNULIB_POSIXCHECK
2144 # undef sinf
2145 # if HAVE_RAW_DECL_SINF
2146 _GL_WARN_ON_USE (sinf, "sinf is unportable - "
2147  "use gnulib module sinf for portability");
2148 # endif
2149 #endif
2150 
2151 #if 0
2152 # if !1 || !1
2153 # undef sinl
2154 _GL_FUNCDECL_SYS (sinl, long double, (long double x));
2155 # endif
2156 _GL_CXXALIAS_SYS (sinl, long double, (long double x));
2157 _GL_CXXALIASWARN (sinl);
2158 #elif defined GNULIB_POSIXCHECK
2159 # undef sinl
2160 # if HAVE_RAW_DECL_SINL
2161 _GL_WARN_ON_USE (sinl, "sinl is unportable - "
2162  "use gnulib module sinl for portability");
2163 # endif
2164 #endif
2165 
2166 
2167 #if 0
2168 # if !1
2169 # undef sinhf
2170 _GL_FUNCDECL_SYS (sinhf, float, (float x));
2171 # endif
2172 _GL_CXXALIAS_SYS (sinhf, float, (float x));
2173 _GL_CXXALIASWARN (sinhf);
2174 #elif defined GNULIB_POSIXCHECK
2175 # undef sinhf
2176 # if HAVE_RAW_DECL_SINHF
2177 _GL_WARN_ON_USE (sinhf, "sinhf is unportable - "
2178  "use gnulib module sinhf for portability");
2179 # endif
2180 #endif
2181 
2182 
2183 #if 0
2184 # if !1
2185 # undef sqrtf
2186 _GL_FUNCDECL_SYS (sqrtf, float, (float x));
2187 # endif
2188 _GL_CXXALIAS_SYS (sqrtf, float, (float x));
2189 _GL_CXXALIASWARN (sqrtf);
2190 #elif defined GNULIB_POSIXCHECK
2191 # undef sqrtf
2192 # if HAVE_RAW_DECL_SQRTF
2193 _GL_WARN_ON_USE (sqrtf, "sqrtf is unportable - "
2194  "use gnulib module sqrtf for portability");
2195 # endif
2196 #endif
2197 
2198 #if 0
2199 # if 0
2200 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
2201 # undef sqrtl
2202 # define sqrtl rpl_sqrtl
2203 # endif
2204 _GL_FUNCDECL_RPL (sqrtl, long double, (long double x));
2205 _GL_CXXALIAS_RPL (sqrtl, long double, (long double x));
2206 # else
2207 # if !1 || !1
2208 # undef sqrtl
2209 _GL_FUNCDECL_SYS (sqrtl, long double, (long double x));
2210 # endif
2211 _GL_CXXALIAS_SYS (sqrtl, long double, (long double x));
2212 # endif
2213 _GL_CXXALIASWARN (sqrtl);
2214 #elif defined GNULIB_POSIXCHECK
2215 # undef sqrtl
2216 # if HAVE_RAW_DECL_SQRTL
2217 _GL_WARN_ON_USE (sqrtl, "sqrtl is unportable - "
2218  "use gnulib module sqrtl for portability");
2219 # endif
2220 #endif
2221 
2222 
2223 #if 0
2224 # if !1
2225 # undef tanf
2226 _GL_FUNCDECL_SYS (tanf, float, (float x));
2227 # endif
2228 _GL_CXXALIAS_SYS (tanf, float, (float x));
2229 _GL_CXXALIASWARN (tanf);
2230 #elif defined GNULIB_POSIXCHECK
2231 # undef tanf
2232 # if HAVE_RAW_DECL_TANF
2233 _GL_WARN_ON_USE (tanf, "tanf is unportable - "
2234  "use gnulib module tanf for portability");
2235 # endif
2236 #endif
2237 
2238 #if 0
2239 # if !1 || !1
2240 # undef tanl
2241 _GL_FUNCDECL_SYS (tanl, long double, (long double x));
2242 # endif
2243 _GL_CXXALIAS_SYS (tanl, long double, (long double x));
2244 _GL_CXXALIASWARN (tanl);
2245 #elif defined GNULIB_POSIXCHECK
2246 # undef tanl
2247 # if HAVE_RAW_DECL_TANL
2248 _GL_WARN_ON_USE (tanl, "tanl is unportable - "
2249  "use gnulib module tanl for portability");
2250 # endif
2251 #endif
2252 
2253 
2254 #if 0
2255 # if !1
2256 # undef tanhf
2257 _GL_FUNCDECL_SYS (tanhf, float, (float x));
2258 # endif
2259 _GL_CXXALIAS_SYS (tanhf, float, (float x));
2260 _GL_CXXALIASWARN (tanhf);
2261 #elif defined GNULIB_POSIXCHECK
2262 # undef tanhf
2263 # if HAVE_RAW_DECL_TANHF
2264 _GL_WARN_ON_USE (tanhf, "tanhf is unportable - "
2265  "use gnulib module tanhf for portability");
2266 # endif
2267 #endif
2268 
2269 
2270 #if 0
2271 # if 0
2272 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
2273 # define truncf rpl_truncf
2274 # endif
2275 _GL_FUNCDECL_RPL (truncf, float, (float x));
2276 _GL_CXXALIAS_RPL (truncf, float, (float x));
2277 # else
2278 # if !1
2279 _GL_FUNCDECL_SYS (truncf, float, (float x));
2280 # endif
2281 _GL_CXXALIAS_SYS (truncf, float, (float x));
2282 # endif
2283 _GL_CXXALIASWARN (truncf);
2284 #elif defined GNULIB_POSIXCHECK
2285 # undef truncf
2286 # if HAVE_RAW_DECL_TRUNCF
2287 _GL_WARN_ON_USE (truncf, "truncf is unportable - "
2288  "use gnulib module truncf for portability");
2289 # endif
2290 #endif
2291 
2292 #if 0
2293 # if 0
2294 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
2295 # define trunc rpl_trunc
2296 # endif
2297 _GL_FUNCDECL_RPL (trunc, double, (double x));
2298 _GL_CXXALIAS_RPL (trunc, double, (double x));
2299 # else
2300 # if !1
2301 _GL_FUNCDECL_SYS (trunc, double, (double x));
2302 # endif
2303 _GL_CXXALIAS_SYS (trunc, double, (double x));
2304 # endif
2305 _GL_CXXALIASWARN (trunc);
2306 #elif defined GNULIB_POSIXCHECK
2307 # undef trunc
2308 # if HAVE_RAW_DECL_TRUNC
2309 _GL_WARN_ON_USE (trunc, "trunc is unportable - "
2310  "use gnulib module trunc for portability");
2311 # endif
2312 #endif
2313 
2314 #if 0
2315 # if 0
2316 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
2317 # undef truncl
2318 # define truncl rpl_truncl
2319 # endif
2320 _GL_FUNCDECL_RPL (truncl, long double, (long double x));
2321 _GL_CXXALIAS_RPL (truncl, long double, (long double x));
2322 # else
2323 # if !1
2324 _GL_FUNCDECL_SYS (truncl, long double, (long double x));
2325 # endif
2326 _GL_CXXALIAS_SYS (truncl, long double, (long double x));
2327 # endif
2328 _GL_CXXALIASWARN (truncl);
2329 #elif defined GNULIB_POSIXCHECK
2330 # undef truncl
2331 # if HAVE_RAW_DECL_TRUNCL
2332 _GL_WARN_ON_USE (truncl, "truncl is unportable - "
2333  "use gnulib module truncl for portability");
2334 # endif
2335 #endif
2336 
2337 
2338 /* Definitions of function-like macros come here, after the function
2339  declarations. */
2340 
2341 
2342 #if 0
2343 # if 0
2344 _GL_EXTERN_C int gl_isfinitef (float x);
2345 _GL_EXTERN_C int gl_isfinited (double x);
2346 _GL_EXTERN_C int gl_isfinitel (long double x);
2347 # undef isfinite
2348 # define isfinite(x) \
2349  (sizeof (x) == sizeof (long double) ? gl_isfinitel (x) : \
2350  sizeof (x) == sizeof (double) ? gl_isfinited (x) : \
2351  gl_isfinitef (x))
2352 # endif
2353 # ifdef __cplusplus
2354 # ifdef isfinite
2355 _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isfinite)
2356 # undef isfinite
2357 _GL_MATH_CXX_REAL_FLOATING_DECL_2 (isfinite)
2358 # endif
2359 # endif
2360 #elif defined GNULIB_POSIXCHECK
2361 # if defined isfinite
2362 _GL_WARN_REAL_FLOATING_DECL (isfinite);
2363 # undef isfinite
2364 # define isfinite(x) _GL_WARN_REAL_FLOATING_IMPL (isfinite, x)
2365 # endif
2366 #endif
2367 
2368 
2369 #if 0
2370 # if 0
2371 _GL_EXTERN_C int gl_isinff (float x);
2372 _GL_EXTERN_C int gl_isinfd (double x);
2373 _GL_EXTERN_C int gl_isinfl (long double x);
2374 # undef isinf
2375 # define isinf(x) \
2376  (sizeof (x) == sizeof (long double) ? gl_isinfl (x) : \
2377  sizeof (x) == sizeof (double) ? gl_isinfd (x) : \
2378  gl_isinff (x))
2379 # endif
2380 # ifdef __cplusplus
2381 # ifdef isinf
2382 _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isinf)
2383 # undef isinf
2384 _GL_MATH_CXX_REAL_FLOATING_DECL_2 (isinf)
2385 # endif
2386 # endif
2387 #elif defined GNULIB_POSIXCHECK
2388 # if defined isinf
2390 # undef isinf
2391 # define isinf(x) _GL_WARN_REAL_FLOATING_IMPL (isinf, x)
2392 # endif
2393 #endif
2394 
2395 
2396 #if 1
2397 /* Test for NaN for 'float' numbers. */
2398 # if 1
2399 /* The original <math.h> included above provides a declaration of isnan macro
2400  or (older) isnanf function. */
2401 # if __GNUC__ >= 4
2402  /* GCC 4.0 and newer provides three built-ins for isnan. */
2403 # undef isnanf
2404 # define isnanf(x) __builtin_isnanf ((float)(x))
2405 # elif defined isnan
2406 # undef isnanf
2407 # define isnanf(x) isnan ((float)(x))
2408 # endif
2409 # else
2410 /* Test whether X is a NaN. */
2411 # undef isnanf
2412 # define isnanf rpl_isnanf
2413 _GL_EXTERN_C int isnanf (float x);
2414 # endif
2415 #endif
2416 
2417 #if 1
2418 /* Test for NaN for 'double' numbers.
2419  This function is a gnulib extension, unlike isnan() which applied only
2420  to 'double' numbers earlier but now is a type-generic macro. */
2421 # if 1
2422 /* The original <math.h> included above provides a declaration of isnan
2423  macro. */
2424 # if __GNUC__ >= 4
2425  /* GCC 4.0 and newer provides three built-ins for isnan. */
2426 # undef isnand
2427 # define isnand(x) __builtin_isnan ((double)(x))
2428 # else
2429 # undef isnand
2430 # define isnand(x) isnan ((double)(x))
2431 # endif
2432 # else
2433 /* Test whether X is a NaN. */
2434 # undef isnand
2435 # define isnand rpl_isnand
2436 _GL_EXTERN_C int isnand (double x);
2437 # endif
2438 #endif
2439 
2440 #if 1
2441 /* Test for NaN for 'long double' numbers. */
2442 # if 1
2443 /* The original <math.h> included above provides a declaration of isnan
2444  macro or (older) isnanl function. */
2445 # if __GNUC__ >= 4
2446  /* GCC 4.0 and newer provides three built-ins for isnan. */
2447 # undef isnanl
2448 # define isnanl(x) __builtin_isnanl ((long double)(x))
2449 # elif defined isnan
2450 # undef isnanl
2451 # define isnanl(x) isnan ((long double)(x))
2452 # endif
2453 # else
2454 /* Test whether X is a NaN. */
2455 # undef isnanl
2456 # define isnanl rpl_isnanl
2457 _GL_EXTERN_C int isnanl (long double x) _GL_ATTRIBUTE_CONST;
2458 # endif
2459 #endif
2460 
2461 /* This must come *after* the snippets for GNULIB_ISNANF and GNULIB_ISNANL! */
2462 #if 1
2463 # if 0
2464 /* We can't just use the isnanf macro (e.g.) as exposed by
2465  isnanf.h (e.g.) here, because those may end up being macros
2466  that recursively expand back to isnan. So use the gnulib
2467  replacements for them directly. */
2468 # if 1 && __GNUC__ >= 4
2469 # define gl_isnan_f(x) __builtin_isnanf ((float)(x))
2470 # else
2471 _GL_EXTERN_C int rpl_isnanf (float x);
2472 # define gl_isnan_f(x) rpl_isnanf (x)
2473 # endif
2474 # if 1 && __GNUC__ >= 4
2475 # define gl_isnan_d(x) __builtin_isnan ((double)(x))
2476 # else
2477 _GL_EXTERN_C int rpl_isnand (double x);
2478 # define gl_isnan_d(x) rpl_isnand (x)
2479 # endif
2480 # if 1 && __GNUC__ >= 4
2481 # define gl_isnan_l(x) __builtin_isnanl ((long double)(x))
2482 # else
2483 _GL_EXTERN_C int rpl_isnanl (long double x) _GL_ATTRIBUTE_CONST;
2484 # define gl_isnan_l(x) rpl_isnanl (x)
2485 # endif
2486 # undef isnan
2487 # define isnan(x) \
2488  (sizeof (x) == sizeof (long double) ? gl_isnan_l (x) : \
2489  sizeof (x) == sizeof (double) ? gl_isnan_d (x) : \
2490  gl_isnan_f (x))
2491 # elif __GNUC__ >= 4
2492 # undef isnan
2493 # define isnan(x) \
2494  (sizeof (x) == sizeof (long double) ? __builtin_isnanl ((long double)(x)) : \
2495  sizeof (x) == sizeof (double) ? __builtin_isnan ((double)(x)) : \
2496  __builtin_isnanf ((float)(x)))
2497 # endif
2498 # ifdef __cplusplus
2499 # ifdef isnan
2500 _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isnan)
2501 # undef isnan
2502 _GL_MATH_CXX_REAL_FLOATING_DECL_2 (isnan)
2503 # endif
2504 # else
2505 /* Ensure isnan is a macro. */
2506 # ifndef isnan
2507 # define isnan isnan
2508 # endif
2509 # endif
2510 #elif defined GNULIB_POSIXCHECK
2511 # if defined isnan
2513 # undef isnan
2514 # define isnan(x) _GL_WARN_REAL_FLOATING_IMPL (isnan, x)
2515 # endif
2516 #endif
2517 
2518 
2519 #if 0
2520 # if 0
2521 # undef signbit
2522  /* GCC 4.0 and newer provides three built-ins for signbit. */
2523 # define signbit(x) \
2524  (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \
2525  sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \
2526  __builtin_signbitf (x))
2527 # endif
2528 # if 0
2529 # undef signbit
2530 _GL_EXTERN_C int gl_signbitf (float arg);
2531 _GL_EXTERN_C int gl_signbitd (double arg);
2532 _GL_EXTERN_C int gl_signbitl (long double arg);
2533 # if __GNUC__ >= 2 && !defined __STRICT_ANSI__
2534 # define _GL_NUM_UINT_WORDS(type) \
2535  ((sizeof (type) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
2536 # if defined FLT_SIGNBIT_WORD && defined FLT_SIGNBIT_BIT && !defined gl_signbitf
2537 # define gl_signbitf_OPTIMIZED_MACRO
2538 # define gl_signbitf(arg) \
2539  ({ union { float _value; \
2540  unsigned int _word[_GL_NUM_UINT_WORDS (float)]; \
2541  } _m; \
2542  _m._value = (arg); \
2543  (_m._word[FLT_SIGNBIT_WORD] >> FLT_SIGNBIT_BIT) & 1; \
2544  })
2545 # endif
2546 # if defined DBL_SIGNBIT_WORD && defined DBL_SIGNBIT_BIT && !defined gl_signbitd
2547 # define gl_signbitd_OPTIMIZED_MACRO
2548 # define gl_signbitd(arg) \
2549  ({ union { double _value; \
2550  unsigned int _word[_GL_NUM_UINT_WORDS (double)]; \
2551  } _m; \
2552  _m._value = (arg); \
2553  (_m._word[DBL_SIGNBIT_WORD] >> DBL_SIGNBIT_BIT) & 1; \
2554  })
2555 # endif
2556 # if defined LDBL_SIGNBIT_WORD && defined LDBL_SIGNBIT_BIT && !defined gl_signbitl
2557 # define gl_signbitl_OPTIMIZED_MACRO
2558 # define gl_signbitl(arg) \
2559  ({ union { long double _value; \
2560  unsigned int _word[_GL_NUM_UINT_WORDS (long double)]; \
2561  } _m; \
2562  _m._value = (arg); \
2563  (_m._word[LDBL_SIGNBIT_WORD] >> LDBL_SIGNBIT_BIT) & 1; \
2564  })
2565 # endif
2566 # endif
2567 # define signbit(x) \
2568  (sizeof (x) == sizeof (long double) ? gl_signbitl (x) : \
2569  sizeof (x) == sizeof (double) ? gl_signbitd (x) : \
2570  gl_signbitf (x))
2571 # endif
2572 # ifdef __cplusplus
2573 # ifdef signbit
2574 _GL_MATH_CXX_REAL_FLOATING_DECL_1 (signbit)
2575 # undef signbit
2576 _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)
2577 # endif
2578 # endif
2579 #elif defined GNULIB_POSIXCHECK
2580 # if defined signbit
2581 _GL_WARN_REAL_FLOATING_DECL (signbit);
2582 # undef signbit
2583 # define signbit(x) _GL_WARN_REAL_FLOATING_IMPL (signbit, x)
2584 # endif
2585 #endif
2586 
2588 
2589 #endif /* _GL_MATH_H */
2590 #endif /* _GL_MATH_H */
#define _GL_FUNCDECL_SYS(func, rettype, parameters_and_attributes)
Definition: math.h:130
#define _GL_ARG_NONNULL(params)
Definition: math.h:305
#define isnand(x)
Definition: math.h:2430
#define _GL_CXXALIAS_RPL(func, rettype, parameters)
Definition: math.h:139
#define _GL_EXTERN_C
Definition: math.h:108
#define _GL_CXXALIASWARN(func)
Definition: math.h:263
void _Qp_itoq(long double *result, int a)
Definition: itold.c:24
#define _GL_WARN_REAL_FLOATING_DECL(func)
Definition: math.h:399
int rpl_isnand(double x)
#define _GL_WARN_ON_USE(function, message)
Definition: math.h:321
#define _GL_ATTRIBUTE_CONST
Definition: config.h:1818
#define _GL_CXXALIAS_SYS(func, rettype, parameters)
Definition: math.h:192
#define isnan
Definition: math.h:2507
#define _GL_INLINE_HEADER_BEGIN
Definition: config.h:1720
#define _GL_INLINE_HEADER_END
Definition: config.h:1721
#define _GL_FUNCDECL_RPL(func, rettype, parameters_and_attributes)
Definition: math.h:118
#define _GL_MATH_INLINE
Definition: math.h:37