diff options
Diffstat (limited to 'gl/math.in.h')
| -rw-r--r-- | gl/math.in.h | 748 |
1 files changed, 383 insertions, 365 deletions
diff --git a/gl/math.in.h b/gl/math.in.h index 96d0da44..14218ea0 100644 --- a/gl/math.in.h +++ b/gl/math.in.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* A GNU-like <math.h>. | 1 | /* A GNU-like <math.h>. |
| 2 | 2 | ||
| 3 | Copyright (C) 2002-2003, 2007-2024 Free Software Foundation, Inc. | 3 | Copyright (C) 2002-2003, 2007-2026 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is free software: you can redistribute it and/or modify | 5 | This file is free software: you can redistribute it and/or modify |
| 6 | it under the terms of the GNU Lesser General Public License as | 6 | it under the terms of the GNU Lesser General Public License as |
| @@ -160,12 +160,23 @@ static void (*_gl_math_fix_itold) (long double *, int) = _Qp_itoq; | |||
| 160 | #endif | 160 | #endif |
| 161 | 161 | ||
| 162 | 162 | ||
| 163 | /* Ensure that INFINITY is a constant expression, of type 'float'. */ | ||
| 164 | #if !defined INFINITY || (defined __FreeBSD__ && __FreeBSD__ < 8) || defined _AIX || defined __MINGW32__ | ||
| 165 | # undef INFINITY | ||
| 166 | # if defined __GNUC__ || defined __clang__ | ||
| 167 | # define INFINITY (__builtin_inff ()) | ||
| 168 | # else | ||
| 169 | # define INFINITY (1.0f / 0.0f) | ||
| 170 | # endif | ||
| 171 | #endif | ||
| 172 | |||
| 163 | /* POSIX allows platforms that don't support NAN. But all major | 173 | /* POSIX allows platforms that don't support NAN. But all major |
| 164 | machines in the past 15 years have supported something close to | 174 | machines in the past 15 years have supported something close to |
| 165 | IEEE NaN, so we define this unconditionally. We also must define | 175 | IEEE NaN, so we define this unconditionally. We also must define |
| 166 | it on platforms like Solaris 10, where NAN is present but defined | 176 | it on platforms like Solaris 10, where NAN is present but defined |
| 167 | as a function pointer rather than a floating point constant. */ | 177 | as a function pointer rather than a floating point constant. |
| 168 | #if !defined NAN || @REPLACE_NAN@ | 178 | Also ensure that it is a constant expression, of type 'float'. */ |
| 179 | #if !defined NAN || @REPLACE_NAN@ || (defined __FreeBSD__ && __FreeBSD__ < 8) || defined _AIX || defined __MINGW32__ | ||
| 169 | # if !GNULIB_defined_NAN | 180 | # if !GNULIB_defined_NAN |
| 170 | # undef NAN | 181 | # undef NAN |
| 171 | /* The Compaq (ex-DEC) C 6.4 compiler and the Microsoft MSVC 9 compiler | 182 | /* The Compaq (ex-DEC) C 6.4 compiler and the Microsoft MSVC 9 compiler |
| @@ -178,6 +189,8 @@ _NaN () | |||
| 178 | return zero / zero; | 189 | return zero / zero; |
| 179 | } | 190 | } |
| 180 | # define NAN (_NaN()) | 191 | # define NAN (_NaN()) |
| 192 | # elif defined __GNUC__ || defined __clang__ | ||
| 193 | # define NAN (__builtin_nanf ("")) | ||
| 181 | # else | 194 | # else |
| 182 | # define NAN (0.0f / 0.0f) | 195 | # define NAN (0.0f / 0.0f) |
| 183 | # endif | 196 | # endif |
| @@ -197,49 +210,49 @@ _NaN () | |||
| 197 | #endif | 210 | #endif |
| 198 | 211 | ||
| 199 | /* HUGE_VALF is a 'float' Infinity. */ | 212 | /* HUGE_VALF is a 'float' Infinity. */ |
| 200 | #ifndef HUGE_VALF | 213 | #if !defined HUGE_VALF || (defined __FreeBSD__ && __FreeBSD__ < 6) |
| 214 | # undef HUGE_VALF | ||
| 201 | # if defined _MSC_VER | 215 | # if defined _MSC_VER |
| 202 | /* The Microsoft MSVC 9 compiler chokes on the expression 1.0f / 0.0f. */ | 216 | /* The Microsoft MSVC 9 compiler chokes on the expression 1.0f / 0.0f. */ |
| 203 | # define HUGE_VALF (1e25f * 1e25f) | 217 | # define HUGE_VALF (1e25f * 1e25f) |
| 218 | # elif defined __GNUC__ || defined __clang__ | ||
| 219 | # define HUGE_VALF (__builtin_inff ()) | ||
| 204 | # else | 220 | # else |
| 205 | # define HUGE_VALF (1.0f / 0.0f) | 221 | # define HUGE_VALF (1.0f / 0.0f) |
| 206 | # endif | 222 | # endif |
| 207 | #endif | 223 | #endif |
| 208 | 224 | ||
| 209 | /* HUGE_VAL is a 'double' Infinity. */ | 225 | /* HUGE_VAL is a 'double' Infinity. */ |
| 210 | #ifndef HUGE_VAL | 226 | #if !defined HUGE_VAL || (defined __FreeBSD__ && __FreeBSD__ < 6) || defined _AIX |
| 227 | # undef HUGE_VAL | ||
| 211 | # if defined _MSC_VER | 228 | # if defined _MSC_VER |
| 212 | /* The Microsoft MSVC 9 compiler chokes on the expression 1.0 / 0.0. */ | 229 | /* The Microsoft MSVC 9 compiler chokes on the expression 1.0 / 0.0. */ |
| 213 | # define HUGE_VAL (1e250 * 1e250) | 230 | # define HUGE_VAL (1e250 * 1e250) |
| 231 | # elif defined __GNUC__ || defined __clang__ | ||
| 232 | # define HUGE_VAL (__builtin_inf ()) | ||
| 214 | # else | 233 | # else |
| 215 | # define HUGE_VAL (1.0 / 0.0) | 234 | # define HUGE_VAL (1.0 / 0.0) |
| 216 | # endif | 235 | # endif |
| 217 | #endif | 236 | #endif |
| 218 | 237 | ||
| 219 | /* HUGE_VALL is a 'long double' Infinity. */ | 238 | /* HUGE_VALL is a 'long double' Infinity. */ |
| 220 | #ifndef HUGE_VALL | 239 | #if !defined HUGE_VALL || (defined __FreeBSD__ && __FreeBSD__ < 6) || defined _AIX |
| 240 | # undef HUGE_VALL | ||
| 221 | # if defined _MSC_VER | 241 | # if defined _MSC_VER |
| 222 | /* The Microsoft MSVC 9 compiler chokes on the expression 1.0L / 0.0L. */ | 242 | /* The Microsoft MSVC 9 compiler chokes on the expression 1.0L / 0.0L. */ |
| 223 | # define HUGE_VALL (1e250L * 1e250L) | 243 | # define HUGE_VALL (1e250L * 1e250L) |
| 244 | # elif defined __GNUC__ || defined __clang__ | ||
| 245 | # define HUGE_VALL (__builtin_infl ()) | ||
| 224 | # else | 246 | # else |
| 225 | # define HUGE_VALL (1.0L / 0.0L) | 247 | # define HUGE_VALL (1.0L / 0.0L) |
| 226 | # endif | 248 | # endif |
| 227 | #endif | 249 | #endif |
| 228 | 250 | ||
| 229 | 251 | ||
| 230 | #if defined FP_ILOGB0 && defined FP_ILOGBNAN | 252 | #if !(defined FP_ILOGB0 && defined FP_ILOGBNAN) |
| 231 | /* Ensure FP_ILOGB0 and FP_ILOGBNAN are correct. */ | ||
| 232 | # if defined __HAIKU__ | ||
| 233 | /* Haiku: match what ilogb() does */ | ||
| 234 | # undef FP_ILOGB0 | ||
| 235 | # undef FP_ILOGBNAN | ||
| 236 | # define FP_ILOGB0 (- 2147483647 - 1) /* INT_MIN */ | ||
| 237 | # define FP_ILOGBNAN (- 2147483647 - 1) /* INT_MIN */ | ||
| 238 | # endif | ||
| 239 | #else | ||
| 240 | /* Ensure FP_ILOGB0 and FP_ILOGBNAN are defined. */ | 253 | /* Ensure FP_ILOGB0 and FP_ILOGBNAN are defined. */ |
| 241 | # if defined __NetBSD__ || defined __sgi | 254 | # if defined __NetBSD__ |
| 242 | /* NetBSD, IRIX 6.5: match what ilogb() does */ | 255 | /* NetBSD: match what ilogb() does */ |
| 243 | # define FP_ILOGB0 (- 2147483647 - 1) /* INT_MIN */ | 256 | # define FP_ILOGB0 (- 2147483647 - 1) /* INT_MIN */ |
| 244 | # define FP_ILOGBNAN (- 2147483647 - 1) /* INT_MIN */ | 257 | # define FP_ILOGBNAN (- 2147483647 - 1) /* INT_MIN */ |
| 245 | # elif defined _AIX | 258 | # elif defined _AIX |
| @@ -264,18 +277,17 @@ _NaN () | |||
| 264 | # undef acosf | 277 | # undef acosf |
| 265 | # define acosf rpl_acosf | 278 | # define acosf rpl_acosf |
| 266 | # endif | 279 | # endif |
| 267 | _GL_FUNCDECL_RPL (acosf, float, (float x)); | 280 | _GL_FUNCDECL_RPL (acosf, float, (float x), ); |
| 268 | _GL_CXXALIAS_RPL (acosf, float, (float x)); | 281 | _GL_CXXALIAS_RPL (acosf, float, (float x)); |
| 269 | # else | 282 | # else |
| 270 | # if !@HAVE_ACOSF@ | 283 | # if !@HAVE_ACOSF@ |
| 271 | # undef acosf | 284 | # undef acosf |
| 272 | _GL_FUNCDECL_SYS (acosf, float, (float x)); | 285 | _GL_FUNCDECL_SYS (acosf, float, (float x), ); |
| 273 | # endif | 286 | # endif |
| 274 | _GL_CXXALIAS_SYS (acosf, float, (float x)); | 287 | _GL_CXXALIAS_SYS (acosf, float, (float x)); |
| 275 | # endif | 288 | # endif |
| 276 | _GL_CXXALIASWARN (acosf); | 289 | _GL_CXXALIASWARN (acosf); |
| 277 | #elif defined GNULIB_POSIXCHECK | 290 | #elif defined GNULIB_POSIXCHECK |
| 278 | # undef acosf | ||
| 279 | # if HAVE_RAW_DECL_ACOSF | 291 | # if HAVE_RAW_DECL_ACOSF |
| 280 | _GL_WARN_ON_USE (acosf, "acosf is unportable - " | 292 | _GL_WARN_ON_USE (acosf, "acosf is unportable - " |
| 281 | "use gnulib module acosf for portability"); | 293 | "use gnulib module acosf for portability"); |
| @@ -285,14 +297,13 @@ _GL_WARN_ON_USE (acosf, "acosf is unportable - " | |||
| 285 | #if @GNULIB_ACOSL@ | 297 | #if @GNULIB_ACOSL@ |
| 286 | # if !@HAVE_ACOSL@ || !@HAVE_DECL_ACOSL@ | 298 | # if !@HAVE_ACOSL@ || !@HAVE_DECL_ACOSL@ |
| 287 | # undef acosl | 299 | # undef acosl |
| 288 | _GL_FUNCDECL_SYS (acosl, long double, (long double x)); | 300 | _GL_FUNCDECL_SYS (acosl, long double, (long double x), ); |
| 289 | # endif | 301 | # endif |
| 290 | _GL_CXXALIAS_SYS (acosl, long double, (long double x)); | 302 | _GL_CXXALIAS_SYS (acosl, long double, (long double x)); |
| 291 | # if __GLIBC__ >= 2 | 303 | # if __GLIBC__ >= 2 |
| 292 | _GL_CXXALIASWARN (acosl); | 304 | _GL_CXXALIASWARN (acosl); |
| 293 | # endif | 305 | # endif |
| 294 | #elif defined GNULIB_POSIXCHECK | 306 | #elif defined GNULIB_POSIXCHECK |
| 295 | # undef acosl | ||
| 296 | # if HAVE_RAW_DECL_ACOSL | 307 | # if HAVE_RAW_DECL_ACOSL |
| 297 | _GL_WARN_ON_USE (acosl, "acosl is unportable - " | 308 | _GL_WARN_ON_USE (acosl, "acosl is unportable - " |
| 298 | "use gnulib module acosl for portability"); | 309 | "use gnulib module acosl for portability"); |
| @@ -306,18 +317,17 @@ _GL_WARN_ON_USE (acosl, "acosl is unportable - " | |||
| 306 | # undef asinf | 317 | # undef asinf |
| 307 | # define asinf rpl_asinf | 318 | # define asinf rpl_asinf |
| 308 | # endif | 319 | # endif |
| 309 | _GL_FUNCDECL_RPL (asinf, float, (float x)); | 320 | _GL_FUNCDECL_RPL (asinf, float, (float x), ); |
| 310 | _GL_CXXALIAS_RPL (asinf, float, (float x)); | 321 | _GL_CXXALIAS_RPL (asinf, float, (float x)); |
| 311 | # else | 322 | # else |
| 312 | # if !@HAVE_ASINF@ | 323 | # if !@HAVE_ASINF@ |
| 313 | # undef asinf | 324 | # undef asinf |
| 314 | _GL_FUNCDECL_SYS (asinf, float, (float x)); | 325 | _GL_FUNCDECL_SYS (asinf, float, (float x), ); |
| 315 | # endif | 326 | # endif |
| 316 | _GL_CXXALIAS_SYS (asinf, float, (float x)); | 327 | _GL_CXXALIAS_SYS (asinf, float, (float x)); |
| 317 | # endif | 328 | # endif |
| 318 | _GL_CXXALIASWARN (asinf); | 329 | _GL_CXXALIASWARN (asinf); |
| 319 | #elif defined GNULIB_POSIXCHECK | 330 | #elif defined GNULIB_POSIXCHECK |
| 320 | # undef asinf | ||
| 321 | # if HAVE_RAW_DECL_ASINF | 331 | # if HAVE_RAW_DECL_ASINF |
| 322 | _GL_WARN_ON_USE (asinf, "asinf is unportable - " | 332 | _GL_WARN_ON_USE (asinf, "asinf is unportable - " |
| 323 | "use gnulib module asinf for portability"); | 333 | "use gnulib module asinf for portability"); |
| @@ -327,14 +337,13 @@ _GL_WARN_ON_USE (asinf, "asinf is unportable - " | |||
| 327 | #if @GNULIB_ASINL@ | 337 | #if @GNULIB_ASINL@ |
| 328 | # if !@HAVE_ASINL@ || !@HAVE_DECL_ASINL@ | 338 | # if !@HAVE_ASINL@ || !@HAVE_DECL_ASINL@ |
| 329 | # undef asinl | 339 | # undef asinl |
| 330 | _GL_FUNCDECL_SYS (asinl, long double, (long double x)); | 340 | _GL_FUNCDECL_SYS (asinl, long double, (long double x), ); |
| 331 | # endif | 341 | # endif |
| 332 | _GL_CXXALIAS_SYS (asinl, long double, (long double x)); | 342 | _GL_CXXALIAS_SYS (asinl, long double, (long double x)); |
| 333 | # if __GLIBC__ >= 2 | 343 | # if __GLIBC__ >= 2 |
| 334 | _GL_CXXALIASWARN (asinl); | 344 | _GL_CXXALIASWARN (asinl); |
| 335 | # endif | 345 | # endif |
| 336 | #elif defined GNULIB_POSIXCHECK | 346 | #elif defined GNULIB_POSIXCHECK |
| 337 | # undef asinl | ||
| 338 | # if HAVE_RAW_DECL_ASINL | 347 | # if HAVE_RAW_DECL_ASINL |
| 339 | _GL_WARN_ON_USE (asinl, "asinl is unportable - " | 348 | _GL_WARN_ON_USE (asinl, "asinl is unportable - " |
| 340 | "use gnulib module asinl for portability"); | 349 | "use gnulib module asinl for portability"); |
| @@ -348,18 +357,17 @@ _GL_WARN_ON_USE (asinl, "asinl is unportable - " | |||
| 348 | # undef atanf | 357 | # undef atanf |
| 349 | # define atanf rpl_atanf | 358 | # define atanf rpl_atanf |
| 350 | # endif | 359 | # endif |
| 351 | _GL_FUNCDECL_RPL (atanf, float, (float x)); | 360 | _GL_FUNCDECL_RPL (atanf, float, (float x), ); |
| 352 | _GL_CXXALIAS_RPL (atanf, float, (float x)); | 361 | _GL_CXXALIAS_RPL (atanf, float, (float x)); |
| 353 | # else | 362 | # else |
| 354 | # if !@HAVE_ATANF@ | 363 | # if !@HAVE_ATANF@ |
| 355 | # undef atanf | 364 | # undef atanf |
| 356 | _GL_FUNCDECL_SYS (atanf, float, (float x)); | 365 | _GL_FUNCDECL_SYS (atanf, float, (float x), ); |
| 357 | # endif | 366 | # endif |
| 358 | _GL_CXXALIAS_SYS (atanf, float, (float x)); | 367 | _GL_CXXALIAS_SYS (atanf, float, (float x)); |
| 359 | # endif | 368 | # endif |
| 360 | _GL_CXXALIASWARN (atanf); | 369 | _GL_CXXALIASWARN (atanf); |
| 361 | #elif defined GNULIB_POSIXCHECK | 370 | #elif defined GNULIB_POSIXCHECK |
| 362 | # undef atanf | ||
| 363 | # if HAVE_RAW_DECL_ATANF | 371 | # if HAVE_RAW_DECL_ATANF |
| 364 | _GL_WARN_ON_USE (atanf, "atanf is unportable - " | 372 | _GL_WARN_ON_USE (atanf, "atanf is unportable - " |
| 365 | "use gnulib module atanf for portability"); | 373 | "use gnulib module atanf for portability"); |
| @@ -369,14 +377,13 @@ _GL_WARN_ON_USE (atanf, "atanf is unportable - " | |||
| 369 | #if @GNULIB_ATANL@ | 377 | #if @GNULIB_ATANL@ |
| 370 | # if !@HAVE_ATANL@ || !@HAVE_DECL_ATANL@ | 378 | # if !@HAVE_ATANL@ || !@HAVE_DECL_ATANL@ |
| 371 | # undef atanl | 379 | # undef atanl |
| 372 | _GL_FUNCDECL_SYS (atanl, long double, (long double x)); | 380 | _GL_FUNCDECL_SYS (atanl, long double, (long double x), ); |
| 373 | # endif | 381 | # endif |
| 374 | _GL_CXXALIAS_SYS (atanl, long double, (long double x)); | 382 | _GL_CXXALIAS_SYS (atanl, long double, (long double x)); |
| 375 | # if __GLIBC__ >= 2 | 383 | # if __GLIBC__ >= 2 |
| 376 | _GL_CXXALIASWARN (atanl); | 384 | _GL_CXXALIASWARN (atanl); |
| 377 | # endif | 385 | # endif |
| 378 | #elif defined GNULIB_POSIXCHECK | 386 | #elif defined GNULIB_POSIXCHECK |
| 379 | # undef atanl | ||
| 380 | # if HAVE_RAW_DECL_ATANL | 387 | # if HAVE_RAW_DECL_ATANL |
| 381 | _GL_WARN_ON_USE (atanl, "atanl is unportable - " | 388 | _GL_WARN_ON_USE (atanl, "atanl is unportable - " |
| 382 | "use gnulib module atanl for portability"); | 389 | "use gnulib module atanl for portability"); |
| @@ -390,18 +397,17 @@ _GL_WARN_ON_USE (atanl, "atanl is unportable - " | |||
| 390 | # undef atan2f | 397 | # undef atan2f |
| 391 | # define atan2f rpl_atan2f | 398 | # define atan2f rpl_atan2f |
| 392 | # endif | 399 | # endif |
| 393 | _GL_FUNCDECL_RPL (atan2f, float, (float y, float x)); | 400 | _GL_FUNCDECL_RPL (atan2f, float, (float y, float x), ); |
| 394 | _GL_CXXALIAS_RPL (atan2f, float, (float y, float x)); | 401 | _GL_CXXALIAS_RPL (atan2f, float, (float y, float x)); |
| 395 | # else | 402 | # else |
| 396 | # if !@HAVE_ATAN2F@ | 403 | # if !@HAVE_ATAN2F@ |
| 397 | # undef atan2f | 404 | # undef atan2f |
| 398 | _GL_FUNCDECL_SYS (atan2f, float, (float y, float x)); | 405 | _GL_FUNCDECL_SYS (atan2f, float, (float y, float x), ); |
| 399 | # endif | 406 | # endif |
| 400 | _GL_CXXALIAS_SYS (atan2f, float, (float y, float x)); | 407 | _GL_CXXALIAS_SYS (atan2f, float, (float y, float x)); |
| 401 | # endif | 408 | # endif |
| 402 | _GL_CXXALIASWARN (atan2f); | 409 | _GL_CXXALIASWARN (atan2f); |
| 403 | #elif defined GNULIB_POSIXCHECK | 410 | #elif defined GNULIB_POSIXCHECK |
| 404 | # undef atan2f | ||
| 405 | # if HAVE_RAW_DECL_ATAN2F | 411 | # if HAVE_RAW_DECL_ATAN2F |
| 406 | _GL_WARN_ON_USE (atan2f, "atan2f is unportable - " | 412 | _GL_WARN_ON_USE (atan2f, "atan2f is unportable - " |
| 407 | "use gnulib module atan2f for portability"); | 413 | "use gnulib module atan2f for portability"); |
| @@ -415,17 +421,16 @@ _GL_WARN_ON_USE (atan2f, "atan2f is unportable - " | |||
| 415 | # undef cbrtf | 421 | # undef cbrtf |
| 416 | # define cbrtf rpl_cbrtf | 422 | # define cbrtf rpl_cbrtf |
| 417 | # endif | 423 | # endif |
| 418 | _GL_FUNCDECL_RPL (cbrtf, float, (float x)); | 424 | _GL_FUNCDECL_RPL (cbrtf, float, (float x), ); |
| 419 | _GL_CXXALIAS_RPL (cbrtf, float, (float x)); | 425 | _GL_CXXALIAS_RPL (cbrtf, float, (float x)); |
| 420 | # else | 426 | # else |
| 421 | # if !@HAVE_DECL_CBRTF@ | 427 | # if !@HAVE_CBRTF@ |
| 422 | _GL_FUNCDECL_SYS (cbrtf, float, (float x)); | 428 | _GL_FUNCDECL_SYS (cbrtf, float, (float x), ); |
| 423 | # endif | 429 | # endif |
| 424 | _GL_CXXALIAS_SYS (cbrtf, float, (float x)); | 430 | _GL_CXXALIAS_SYS (cbrtf, float, (float x)); |
| 425 | # endif | 431 | # endif |
| 426 | _GL_CXXALIASWARN (cbrtf); | 432 | _GL_CXXALIASWARN (cbrtf); |
| 427 | #elif defined GNULIB_POSIXCHECK | 433 | #elif defined GNULIB_POSIXCHECK |
| 428 | # undef cbrtf | ||
| 429 | # if HAVE_RAW_DECL_CBRTF | 434 | # if HAVE_RAW_DECL_CBRTF |
| 430 | _GL_WARN_ON_USE (cbrtf, "cbrtf is unportable - " | 435 | _GL_WARN_ON_USE (cbrtf, "cbrtf is unportable - " |
| 431 | "use gnulib module cbrtf for portability"); | 436 | "use gnulib module cbrtf for portability"); |
| @@ -434,14 +439,13 @@ _GL_WARN_ON_USE (cbrtf, "cbrtf is unportable - " | |||
| 434 | 439 | ||
| 435 | #if @GNULIB_CBRT@ | 440 | #if @GNULIB_CBRT@ |
| 436 | # if !@HAVE_CBRT@ | 441 | # if !@HAVE_CBRT@ |
| 437 | _GL_FUNCDECL_SYS (cbrt, double, (double x)); | 442 | _GL_FUNCDECL_SYS (cbrt, double, (double x), ); |
| 438 | # endif | 443 | # endif |
| 439 | _GL_CXXALIAS_SYS (cbrt, double, (double x)); | 444 | _GL_CXXALIAS_SYS (cbrt, double, (double x)); |
| 440 | # if __GLIBC__ >= 2 | 445 | # if __GLIBC__ >= 2 |
| 441 | _GL_CXXALIASWARN1 (cbrt, double, (double x)); | 446 | _GL_CXXALIASWARN1 (cbrt, double, (double x)); |
| 442 | # endif | 447 | # endif |
| 443 | #elif defined GNULIB_POSIXCHECK | 448 | #elif defined GNULIB_POSIXCHECK |
| 444 | # undef cbrt | ||
| 445 | # if HAVE_RAW_DECL_CBRT | 449 | # if HAVE_RAW_DECL_CBRT |
| 446 | _GL_WARN_ON_USE (cbrt, "cbrt is unportable - " | 450 | _GL_WARN_ON_USE (cbrt, "cbrt is unportable - " |
| 447 | "use gnulib module cbrt for portability"); | 451 | "use gnulib module cbrt for portability"); |
| @@ -454,11 +458,11 @@ _GL_WARN_ON_USE (cbrt, "cbrt is unportable - " | |||
| 454 | # undef cbrtl | 458 | # undef cbrtl |
| 455 | # define cbrtl rpl_cbrtl | 459 | # define cbrtl rpl_cbrtl |
| 456 | # endif | 460 | # endif |
| 457 | _GL_FUNCDECL_RPL (cbrtl, long double, (long double x)); | 461 | _GL_FUNCDECL_RPL (cbrtl, long double, (long double x), ); |
| 458 | _GL_CXXALIAS_RPL (cbrtl, long double, (long double x)); | 462 | _GL_CXXALIAS_RPL (cbrtl, long double, (long double x)); |
| 459 | # else | 463 | # else |
| 460 | # if !@HAVE_DECL_CBRTL@ | 464 | # if !@HAVE_CBRTL@ |
| 461 | _GL_FUNCDECL_SYS (cbrtl, long double, (long double x)); | 465 | _GL_FUNCDECL_SYS (cbrtl, long double, (long double x), ); |
| 462 | # endif | 466 | # endif |
| 463 | _GL_CXXALIAS_SYS (cbrtl, long double, (long double x)); | 467 | _GL_CXXALIAS_SYS (cbrtl, long double, (long double x)); |
| 464 | # endif | 468 | # endif |
| @@ -466,7 +470,6 @@ _GL_CXXALIAS_SYS (cbrtl, long double, (long double x)); | |||
| 466 | _GL_CXXALIASWARN (cbrtl); | 470 | _GL_CXXALIASWARN (cbrtl); |
| 467 | # endif | 471 | # endif |
| 468 | #elif defined GNULIB_POSIXCHECK | 472 | #elif defined GNULIB_POSIXCHECK |
| 469 | # undef cbrtl | ||
| 470 | # if HAVE_RAW_DECL_CBRTL | 473 | # if HAVE_RAW_DECL_CBRTL |
| 471 | _GL_WARN_ON_USE (cbrtl, "cbrtl is unportable - " | 474 | _GL_WARN_ON_USE (cbrtl, "cbrtl is unportable - " |
| 472 | "use gnulib module cbrtl for portability"); | 475 | "use gnulib module cbrtl for portability"); |
| @@ -480,18 +483,17 @@ _GL_WARN_ON_USE (cbrtl, "cbrtl is unportable - " | |||
| 480 | # undef ceilf | 483 | # undef ceilf |
| 481 | # define ceilf rpl_ceilf | 484 | # define ceilf rpl_ceilf |
| 482 | # endif | 485 | # endif |
| 483 | _GL_FUNCDECL_RPL (ceilf, float, (float x)); | 486 | _GL_FUNCDECL_RPL (ceilf, float, (float x), ); |
| 484 | _GL_CXXALIAS_RPL (ceilf, float, (float x)); | 487 | _GL_CXXALIAS_RPL (ceilf, float, (float x)); |
| 485 | # else | 488 | # else |
| 486 | # if !@HAVE_DECL_CEILF@ | 489 | # if !@HAVE_DECL_CEILF@ |
| 487 | # undef ceilf | 490 | # undef ceilf |
| 488 | _GL_FUNCDECL_SYS (ceilf, float, (float x)); | 491 | _GL_FUNCDECL_SYS (ceilf, float, (float x), ); |
| 489 | # endif | 492 | # endif |
| 490 | _GL_CXXALIAS_SYS (ceilf, float, (float x)); | 493 | _GL_CXXALIAS_SYS (ceilf, float, (float x)); |
| 491 | # endif | 494 | # endif |
| 492 | _GL_CXXALIASWARN (ceilf); | 495 | _GL_CXXALIASWARN (ceilf); |
| 493 | #elif defined GNULIB_POSIXCHECK | 496 | #elif defined GNULIB_POSIXCHECK |
| 494 | # undef ceilf | ||
| 495 | # if HAVE_RAW_DECL_CEILF | 497 | # if HAVE_RAW_DECL_CEILF |
| 496 | _GL_WARN_ON_USE (ceilf, "ceilf is unportable - " | 498 | _GL_WARN_ON_USE (ceilf, "ceilf is unportable - " |
| 497 | "use gnulib module ceilf for portability"); | 499 | "use gnulib module ceilf for portability"); |
| @@ -504,7 +506,7 @@ _GL_WARN_ON_USE (ceilf, "ceilf is unportable - " | |||
| 504 | # undef ceil | 506 | # undef ceil |
| 505 | # define ceil rpl_ceil | 507 | # define ceil rpl_ceil |
| 506 | # endif | 508 | # endif |
| 507 | _GL_FUNCDECL_RPL (ceil, double, (double x)); | 509 | _GL_FUNCDECL_RPL (ceil, double, (double x), ); |
| 508 | _GL_CXXALIAS_RPL (ceil, double, (double x)); | 510 | _GL_CXXALIAS_RPL (ceil, double, (double x)); |
| 509 | # else | 511 | # else |
| 510 | _GL_CXXALIAS_SYS (ceil, double, (double x)); | 512 | _GL_CXXALIAS_SYS (ceil, double, (double x)); |
| @@ -520,12 +522,12 @@ _GL_CXXALIASWARN1 (ceil, double, (double x)); | |||
| 520 | # undef ceill | 522 | # undef ceill |
| 521 | # define ceill rpl_ceill | 523 | # define ceill rpl_ceill |
| 522 | # endif | 524 | # endif |
| 523 | _GL_FUNCDECL_RPL (ceill, long double, (long double x)); | 525 | _GL_FUNCDECL_RPL (ceill, long double, (long double x), ); |
| 524 | _GL_CXXALIAS_RPL (ceill, long double, (long double x)); | 526 | _GL_CXXALIAS_RPL (ceill, long double, (long double x)); |
| 525 | # else | 527 | # else |
| 526 | # if !@HAVE_DECL_CEILL@ | 528 | # if !@HAVE_DECL_CEILL@ |
| 527 | # undef ceill | 529 | # undef ceill |
| 528 | _GL_FUNCDECL_SYS (ceill, long double, (long double x)); | 530 | _GL_FUNCDECL_SYS (ceill, long double, (long double x), ); |
| 529 | # endif | 531 | # endif |
| 530 | _GL_CXXALIAS_SYS (ceill, long double, (long double x)); | 532 | _GL_CXXALIAS_SYS (ceill, long double, (long double x)); |
| 531 | # endif | 533 | # endif |
| @@ -533,7 +535,6 @@ _GL_CXXALIAS_SYS (ceill, long double, (long double x)); | |||
| 533 | _GL_CXXALIASWARN (ceill); | 535 | _GL_CXXALIASWARN (ceill); |
| 534 | # endif | 536 | # endif |
| 535 | #elif defined GNULIB_POSIXCHECK | 537 | #elif defined GNULIB_POSIXCHECK |
| 536 | # undef ceill | ||
| 537 | # if HAVE_RAW_DECL_CEILL | 538 | # if HAVE_RAW_DECL_CEILL |
| 538 | _GL_WARN_ON_USE (ceill, "ceill is unportable - " | 539 | _GL_WARN_ON_USE (ceill, "ceill is unportable - " |
| 539 | "use gnulib module ceill for portability"); | 540 | "use gnulib module ceill for portability"); |
| @@ -542,14 +543,13 @@ _GL_WARN_ON_USE (ceill, "ceill is unportable - " | |||
| 542 | 543 | ||
| 543 | 544 | ||
| 544 | #if @GNULIB_COPYSIGNF@ | 545 | #if @GNULIB_COPYSIGNF@ |
| 545 | # if !@HAVE_DECL_COPYSIGNF@ | 546 | # if !@HAVE_COPYSIGNF@ |
| 546 | # undef copysignf | 547 | # undef copysignf |
| 547 | _GL_FUNCDECL_SYS (copysignf, float, (float x, float y)); | 548 | _GL_FUNCDECL_SYS (copysignf, float, (float x, float y), ); |
| 548 | # endif | 549 | # endif |
| 549 | _GL_CXXALIAS_SYS (copysignf, float, (float x, float y)); | 550 | _GL_CXXALIAS_SYS (copysignf, float, (float x, float y)); |
| 550 | _GL_CXXALIASWARN (copysignf); | 551 | _GL_CXXALIASWARN (copysignf); |
| 551 | #elif defined GNULIB_POSIXCHECK | 552 | #elif defined GNULIB_POSIXCHECK |
| 552 | # undef copysignf | ||
| 553 | # if HAVE_RAW_DECL_COPYSIGNF | 553 | # if HAVE_RAW_DECL_COPYSIGNF |
| 554 | _GL_WARN_ON_USE (copysignf, "copysignf is unportable - " | 554 | _GL_WARN_ON_USE (copysignf, "copysignf is unportable - " |
| 555 | "use gnulib module copysignf for portability"); | 555 | "use gnulib module copysignf for portability"); |
| @@ -558,14 +558,13 @@ _GL_WARN_ON_USE (copysignf, "copysignf is unportable - " | |||
| 558 | 558 | ||
| 559 | #if @GNULIB_COPYSIGN@ | 559 | #if @GNULIB_COPYSIGN@ |
| 560 | # if !@HAVE_COPYSIGN@ | 560 | # if !@HAVE_COPYSIGN@ |
| 561 | _GL_FUNCDECL_SYS (copysign, double, (double x, double y)); | 561 | _GL_FUNCDECL_SYS (copysign, double, (double x, double y), ); |
| 562 | # endif | 562 | # endif |
| 563 | _GL_CXXALIAS_SYS (copysign, double, (double x, double y)); | 563 | _GL_CXXALIAS_SYS (copysign, double, (double x, double y)); |
| 564 | # if __GLIBC__ >= 2 | 564 | # if __GLIBC__ >= 2 |
| 565 | _GL_CXXALIASWARN1 (copysign, double, (double x, double y)); | 565 | _GL_CXXALIASWARN1 (copysign, double, (double x, double y)); |
| 566 | # endif | 566 | # endif |
| 567 | #elif defined GNULIB_POSIXCHECK | 567 | #elif defined GNULIB_POSIXCHECK |
| 568 | # undef copysign | ||
| 569 | # if HAVE_RAW_DECL_COPYSIGN | 568 | # if HAVE_RAW_DECL_COPYSIGN |
| 570 | _GL_WARN_ON_USE (copysign, "copysign is unportable - " | 569 | _GL_WARN_ON_USE (copysign, "copysign is unportable - " |
| 571 | "use gnulib module copysign for portability"); | 570 | "use gnulib module copysign for portability"); |
| @@ -574,14 +573,13 @@ _GL_WARN_ON_USE (copysign, "copysign is unportable - " | |||
| 574 | 573 | ||
| 575 | #if @GNULIB_COPYSIGNL@ | 574 | #if @GNULIB_COPYSIGNL@ |
| 576 | # if !@HAVE_COPYSIGNL@ | 575 | # if !@HAVE_COPYSIGNL@ |
| 577 | _GL_FUNCDECL_SYS (copysignl, long double, (long double x, long double y)); | 576 | _GL_FUNCDECL_SYS (copysignl, long double, (long double x, long double y), ); |
| 578 | # endif | 577 | # endif |
| 579 | _GL_CXXALIAS_SYS (copysignl, long double, (long double x, long double y)); | 578 | _GL_CXXALIAS_SYS (copysignl, long double, (long double x, long double y)); |
| 580 | # if __GLIBC__ >= 2 | 579 | # if __GLIBC__ >= 2 |
| 581 | _GL_CXXALIASWARN (copysignl); | 580 | _GL_CXXALIASWARN (copysignl); |
| 582 | # endif | 581 | # endif |
| 583 | #elif defined GNULIB_POSIXCHECK | 582 | #elif defined GNULIB_POSIXCHECK |
| 584 | # undef copysignl | ||
| 585 | # if HAVE_RAW_DECL_COPYSIGNL | 583 | # if HAVE_RAW_DECL_COPYSIGNL |
| 586 | _GL_WARN_ON_USE (copysign, "copysignl is unportable - " | 584 | _GL_WARN_ON_USE (copysign, "copysignl is unportable - " |
| 587 | "use gnulib module copysignl for portability"); | 585 | "use gnulib module copysignl for portability"); |
| @@ -595,18 +593,17 @@ _GL_WARN_ON_USE (copysign, "copysignl is unportable - " | |||
| 595 | # undef cosf | 593 | # undef cosf |
| 596 | # define cosf rpl_cosf | 594 | # define cosf rpl_cosf |
| 597 | # endif | 595 | # endif |
| 598 | _GL_FUNCDECL_RPL (cosf, float, (float x)); | 596 | _GL_FUNCDECL_RPL (cosf, float, (float x), ); |
| 599 | _GL_CXXALIAS_RPL (cosf, float, (float x)); | 597 | _GL_CXXALIAS_RPL (cosf, float, (float x)); |
| 600 | # else | 598 | # else |
| 601 | # if !@HAVE_COSF@ | 599 | # if !@HAVE_COSF@ |
| 602 | # undef cosf | 600 | # undef cosf |
| 603 | _GL_FUNCDECL_SYS (cosf, float, (float x)); | 601 | _GL_FUNCDECL_SYS (cosf, float, (float x), ); |
| 604 | # endif | 602 | # endif |
| 605 | _GL_CXXALIAS_SYS (cosf, float, (float x)); | 603 | _GL_CXXALIAS_SYS (cosf, float, (float x)); |
| 606 | # endif | 604 | # endif |
| 607 | _GL_CXXALIASWARN (cosf); | 605 | _GL_CXXALIASWARN (cosf); |
| 608 | #elif defined GNULIB_POSIXCHECK | 606 | #elif defined GNULIB_POSIXCHECK |
| 609 | # undef cosf | ||
| 610 | # if HAVE_RAW_DECL_COSF | 607 | # if HAVE_RAW_DECL_COSF |
| 611 | _GL_WARN_ON_USE (cosf, "cosf is unportable - " | 608 | _GL_WARN_ON_USE (cosf, "cosf is unportable - " |
| 612 | "use gnulib module cosf for portability"); | 609 | "use gnulib module cosf for portability"); |
| @@ -616,14 +613,13 @@ _GL_WARN_ON_USE (cosf, "cosf is unportable - " | |||
| 616 | #if @GNULIB_COSL@ | 613 | #if @GNULIB_COSL@ |
| 617 | # if !@HAVE_COSL@ || !@HAVE_DECL_COSL@ | 614 | # if !@HAVE_COSL@ || !@HAVE_DECL_COSL@ |
| 618 | # undef cosl | 615 | # undef cosl |
| 619 | _GL_FUNCDECL_SYS (cosl, long double, (long double x)); | 616 | _GL_FUNCDECL_SYS (cosl, long double, (long double x), ); |
| 620 | # endif | 617 | # endif |
| 621 | _GL_CXXALIAS_SYS (cosl, long double, (long double x)); | 618 | _GL_CXXALIAS_SYS (cosl, long double, (long double x)); |
| 622 | # if __GLIBC__ >= 2 | 619 | # if __GLIBC__ >= 2 |
| 623 | _GL_CXXALIASWARN (cosl); | 620 | _GL_CXXALIASWARN (cosl); |
| 624 | # endif | 621 | # endif |
| 625 | #elif defined GNULIB_POSIXCHECK | 622 | #elif defined GNULIB_POSIXCHECK |
| 626 | # undef cosl | ||
| 627 | # if HAVE_RAW_DECL_COSL | 623 | # if HAVE_RAW_DECL_COSL |
| 628 | _GL_WARN_ON_USE (cosl, "cosl is unportable - " | 624 | _GL_WARN_ON_USE (cosl, "cosl is unportable - " |
| 629 | "use gnulib module cosl for portability"); | 625 | "use gnulib module cosl for portability"); |
| @@ -637,18 +633,17 @@ _GL_WARN_ON_USE (cosl, "cosl is unportable - " | |||
| 637 | # undef coshf | 633 | # undef coshf |
| 638 | # define coshf rpl_coshf | 634 | # define coshf rpl_coshf |
| 639 | # endif | 635 | # endif |
| 640 | _GL_FUNCDECL_RPL (coshf, float, (float x)); | 636 | _GL_FUNCDECL_RPL (coshf, float, (float x), ); |
| 641 | _GL_CXXALIAS_RPL (coshf, float, (float x)); | 637 | _GL_CXXALIAS_RPL (coshf, float, (float x)); |
| 642 | # else | 638 | # else |
| 643 | # if !@HAVE_COSHF@ | 639 | # if !@HAVE_COSHF@ |
| 644 | # undef coshf | 640 | # undef coshf |
| 645 | _GL_FUNCDECL_SYS (coshf, float, (float x)); | 641 | _GL_FUNCDECL_SYS (coshf, float, (float x), ); |
| 646 | # endif | 642 | # endif |
| 647 | _GL_CXXALIAS_SYS (coshf, float, (float x)); | 643 | _GL_CXXALIAS_SYS (coshf, float, (float x)); |
| 648 | # endif | 644 | # endif |
| 649 | _GL_CXXALIASWARN (coshf); | 645 | _GL_CXXALIASWARN (coshf); |
| 650 | #elif defined GNULIB_POSIXCHECK | 646 | #elif defined GNULIB_POSIXCHECK |
| 651 | # undef coshf | ||
| 652 | # if HAVE_RAW_DECL_COSHF | 647 | # if HAVE_RAW_DECL_COSHF |
| 653 | _GL_WARN_ON_USE (coshf, "coshf is unportable - " | 648 | _GL_WARN_ON_USE (coshf, "coshf is unportable - " |
| 654 | "use gnulib module coshf for portability"); | 649 | "use gnulib module coshf for portability"); |
| @@ -662,18 +657,17 @@ _GL_WARN_ON_USE (coshf, "coshf is unportable - " | |||
| 662 | # undef expf | 657 | # undef expf |
| 663 | # define expf rpl_expf | 658 | # define expf rpl_expf |
| 664 | # endif | 659 | # endif |
| 665 | _GL_FUNCDECL_RPL (expf, float, (float x)); | 660 | _GL_FUNCDECL_RPL (expf, float, (float x), ); |
| 666 | _GL_CXXALIAS_RPL (expf, float, (float x)); | 661 | _GL_CXXALIAS_RPL (expf, float, (float x)); |
| 667 | # else | 662 | # else |
| 668 | # if !@HAVE_EXPF@ | 663 | # if !@HAVE_EXPF@ |
| 669 | # undef expf | 664 | # undef expf |
| 670 | _GL_FUNCDECL_SYS (expf, float, (float x)); | 665 | _GL_FUNCDECL_SYS (expf, float, (float x), ); |
| 671 | # endif | 666 | # endif |
| 672 | _GL_CXXALIAS_SYS (expf, float, (float x)); | 667 | _GL_CXXALIAS_SYS (expf, float, (float x)); |
| 673 | # endif | 668 | # endif |
| 674 | _GL_CXXALIASWARN (expf); | 669 | _GL_CXXALIASWARN (expf); |
| 675 | #elif defined GNULIB_POSIXCHECK | 670 | #elif defined GNULIB_POSIXCHECK |
| 676 | # undef expf | ||
| 677 | # if HAVE_RAW_DECL_EXPF | 671 | # if HAVE_RAW_DECL_EXPF |
| 678 | _GL_WARN_ON_USE (expf, "expf is unportable - " | 672 | _GL_WARN_ON_USE (expf, "expf is unportable - " |
| 679 | "use gnulib module expf for portability"); | 673 | "use gnulib module expf for portability"); |
| @@ -686,12 +680,12 @@ _GL_WARN_ON_USE (expf, "expf is unportable - " | |||
| 686 | # undef expl | 680 | # undef expl |
| 687 | # define expl rpl_expl | 681 | # define expl rpl_expl |
| 688 | # endif | 682 | # endif |
| 689 | _GL_FUNCDECL_RPL (expl, long double, (long double x)); | 683 | _GL_FUNCDECL_RPL (expl, long double, (long double x), ); |
| 690 | _GL_CXXALIAS_RPL (expl, long double, (long double x)); | 684 | _GL_CXXALIAS_RPL (expl, long double, (long double x)); |
| 691 | # else | 685 | # else |
| 692 | # if !@HAVE_EXPL@ || !@HAVE_DECL_EXPL@ | 686 | # if !@HAVE_EXPL@ || !@HAVE_DECL_EXPL@ |
| 693 | # undef expl | 687 | # undef expl |
| 694 | _GL_FUNCDECL_SYS (expl, long double, (long double x)); | 688 | _GL_FUNCDECL_SYS (expl, long double, (long double x), ); |
| 695 | # endif | 689 | # endif |
| 696 | _GL_CXXALIAS_SYS (expl, long double, (long double x)); | 690 | _GL_CXXALIAS_SYS (expl, long double, (long double x)); |
| 697 | # endif | 691 | # endif |
| @@ -699,7 +693,6 @@ _GL_CXXALIAS_SYS (expl, long double, (long double x)); | |||
| 699 | _GL_CXXALIASWARN (expl); | 693 | _GL_CXXALIASWARN (expl); |
| 700 | # endif | 694 | # endif |
| 701 | #elif defined GNULIB_POSIXCHECK | 695 | #elif defined GNULIB_POSIXCHECK |
| 702 | # undef expl | ||
| 703 | # if HAVE_RAW_DECL_EXPL | 696 | # if HAVE_RAW_DECL_EXPL |
| 704 | _GL_WARN_ON_USE (expl, "expl is unportable - " | 697 | _GL_WARN_ON_USE (expl, "expl is unportable - " |
| 705 | "use gnulib module expl for portability"); | 698 | "use gnulib module expl for portability"); |
| @@ -708,13 +701,12 @@ _GL_WARN_ON_USE (expl, "expl is unportable - " | |||
| 708 | 701 | ||
| 709 | 702 | ||
| 710 | #if @GNULIB_EXP2F@ | 703 | #if @GNULIB_EXP2F@ |
| 711 | # if !@HAVE_DECL_EXP2F@ | 704 | # if !@HAVE_EXP2F@ |
| 712 | _GL_FUNCDECL_SYS (exp2f, float, (float x)); | 705 | _GL_FUNCDECL_SYS (exp2f, float, (float x), ); |
| 713 | # endif | 706 | # endif |
| 714 | _GL_CXXALIAS_SYS (exp2f, float, (float x)); | 707 | _GL_CXXALIAS_SYS (exp2f, float, (float x)); |
| 715 | _GL_CXXALIASWARN (exp2f); | 708 | _GL_CXXALIASWARN (exp2f); |
| 716 | #elif defined GNULIB_POSIXCHECK | 709 | #elif defined GNULIB_POSIXCHECK |
| 717 | # undef exp2f | ||
| 718 | # if HAVE_RAW_DECL_EXP2F | 710 | # if HAVE_RAW_DECL_EXP2F |
| 719 | _GL_WARN_ON_USE (exp2f, "exp2f is unportable - " | 711 | _GL_WARN_ON_USE (exp2f, "exp2f is unportable - " |
| 720 | "use gnulib module exp2f for portability"); | 712 | "use gnulib module exp2f for portability"); |
| @@ -727,11 +719,11 @@ _GL_WARN_ON_USE (exp2f, "exp2f is unportable - " | |||
| 727 | # undef exp2 | 719 | # undef exp2 |
| 728 | # define exp2 rpl_exp2 | 720 | # define exp2 rpl_exp2 |
| 729 | # endif | 721 | # endif |
| 730 | _GL_FUNCDECL_RPL (exp2, double, (double x)); | 722 | _GL_FUNCDECL_RPL (exp2, double, (double x), ); |
| 731 | _GL_CXXALIAS_RPL (exp2, double, (double x)); | 723 | _GL_CXXALIAS_RPL (exp2, double, (double x)); |
| 732 | # else | 724 | # else |
| 733 | # if !@HAVE_DECL_EXP2@ | 725 | # if !@HAVE_EXP2@ |
| 734 | _GL_FUNCDECL_SYS (exp2, double, (double x)); | 726 | _GL_FUNCDECL_SYS (exp2, double, (double x), ); |
| 735 | # endif | 727 | # endif |
| 736 | _GL_CXXALIAS_SYS (exp2, double, (double x)); | 728 | _GL_CXXALIAS_SYS (exp2, double, (double x)); |
| 737 | # endif | 729 | # endif |
| @@ -739,7 +731,6 @@ _GL_CXXALIAS_SYS (exp2, double, (double x)); | |||
| 739 | _GL_CXXALIASWARN1 (exp2, double, (double x)); | 731 | _GL_CXXALIASWARN1 (exp2, double, (double x)); |
| 740 | # endif | 732 | # endif |
| 741 | #elif defined GNULIB_POSIXCHECK | 733 | #elif defined GNULIB_POSIXCHECK |
| 742 | # undef exp2 | ||
| 743 | # if HAVE_RAW_DECL_EXP2 | 734 | # if HAVE_RAW_DECL_EXP2 |
| 744 | _GL_WARN_ON_USE (exp2, "exp2 is unportable - " | 735 | _GL_WARN_ON_USE (exp2, "exp2 is unportable - " |
| 745 | "use gnulib module exp2 for portability"); | 736 | "use gnulib module exp2 for portability"); |
| @@ -752,12 +743,12 @@ _GL_WARN_ON_USE (exp2, "exp2 is unportable - " | |||
| 752 | # undef exp2l | 743 | # undef exp2l |
| 753 | # define exp2l rpl_exp2l | 744 | # define exp2l rpl_exp2l |
| 754 | # endif | 745 | # endif |
| 755 | _GL_FUNCDECL_RPL (exp2l, long double, (long double x)); | 746 | _GL_FUNCDECL_RPL (exp2l, long double, (long double x), ); |
| 756 | _GL_CXXALIAS_RPL (exp2l, long double, (long double x)); | 747 | _GL_CXXALIAS_RPL (exp2l, long double, (long double x)); |
| 757 | # else | 748 | # else |
| 758 | # if !@HAVE_DECL_EXP2L@ | 749 | # if !@HAVE_EXP2L@ |
| 759 | # undef exp2l | 750 | # undef exp2l |
| 760 | _GL_FUNCDECL_SYS (exp2l, long double, (long double x)); | 751 | _GL_FUNCDECL_SYS (exp2l, long double, (long double x), ); |
| 761 | # endif | 752 | # endif |
| 762 | _GL_CXXALIAS_SYS (exp2l, long double, (long double x)); | 753 | _GL_CXXALIAS_SYS (exp2l, long double, (long double x)); |
| 763 | # endif | 754 | # endif |
| @@ -765,7 +756,6 @@ _GL_CXXALIAS_SYS (exp2l, long double, (long double x)); | |||
| 765 | _GL_CXXALIASWARN (exp2l); | 756 | _GL_CXXALIASWARN (exp2l); |
| 766 | # endif | 757 | # endif |
| 767 | #elif defined GNULIB_POSIXCHECK | 758 | #elif defined GNULIB_POSIXCHECK |
| 768 | # undef exp2l | ||
| 769 | # if HAVE_RAW_DECL_EXP2L | 759 | # if HAVE_RAW_DECL_EXP2L |
| 770 | _GL_WARN_ON_USE (exp2l, "exp2l is unportable - " | 760 | _GL_WARN_ON_USE (exp2l, "exp2l is unportable - " |
| 771 | "use gnulib module exp2l for portability"); | 761 | "use gnulib module exp2l for portability"); |
| @@ -779,17 +769,16 @@ _GL_WARN_ON_USE (exp2l, "exp2l is unportable - " | |||
| 779 | # undef expm1f | 769 | # undef expm1f |
| 780 | # define expm1f rpl_expm1f | 770 | # define expm1f rpl_expm1f |
| 781 | # endif | 771 | # endif |
| 782 | _GL_FUNCDECL_RPL (expm1f, float, (float x)); | 772 | _GL_FUNCDECL_RPL (expm1f, float, (float x), ); |
| 783 | _GL_CXXALIAS_RPL (expm1f, float, (float x)); | 773 | _GL_CXXALIAS_RPL (expm1f, float, (float x)); |
| 784 | # else | 774 | # else |
| 785 | # if !@HAVE_EXPM1F@ | 775 | # if !@HAVE_EXPM1F@ |
| 786 | _GL_FUNCDECL_SYS (expm1f, float, (float x)); | 776 | _GL_FUNCDECL_SYS (expm1f, float, (float x), ); |
| 787 | # endif | 777 | # endif |
| 788 | _GL_CXXALIAS_SYS (expm1f, float, (float x)); | 778 | _GL_CXXALIAS_SYS (expm1f, float, (float x)); |
| 789 | # endif | 779 | # endif |
| 790 | _GL_CXXALIASWARN (expm1f); | 780 | _GL_CXXALIASWARN (expm1f); |
| 791 | #elif defined GNULIB_POSIXCHECK | 781 | #elif defined GNULIB_POSIXCHECK |
| 792 | # undef expm1f | ||
| 793 | # if HAVE_RAW_DECL_EXPM1F | 782 | # if HAVE_RAW_DECL_EXPM1F |
| 794 | _GL_WARN_ON_USE (expm1f, "expm1f is unportable - " | 783 | _GL_WARN_ON_USE (expm1f, "expm1f is unportable - " |
| 795 | "use gnulib module expm1f for portability"); | 784 | "use gnulib module expm1f for portability"); |
| @@ -802,11 +791,11 @@ _GL_WARN_ON_USE (expm1f, "expm1f is unportable - " | |||
| 802 | # undef expm1 | 791 | # undef expm1 |
| 803 | # define expm1 rpl_expm1 | 792 | # define expm1 rpl_expm1 |
| 804 | # endif | 793 | # endif |
| 805 | _GL_FUNCDECL_RPL (expm1, double, (double x)); | 794 | _GL_FUNCDECL_RPL (expm1, double, (double x), ); |
| 806 | _GL_CXXALIAS_RPL (expm1, double, (double x)); | 795 | _GL_CXXALIAS_RPL (expm1, double, (double x)); |
| 807 | # else | 796 | # else |
| 808 | # if !@HAVE_EXPM1@ | 797 | # if !@HAVE_EXPM1@ |
| 809 | _GL_FUNCDECL_SYS (expm1, double, (double x)); | 798 | _GL_FUNCDECL_SYS (expm1, double, (double x), ); |
| 810 | # endif | 799 | # endif |
| 811 | _GL_CXXALIAS_SYS (expm1, double, (double x)); | 800 | _GL_CXXALIAS_SYS (expm1, double, (double x)); |
| 812 | # endif | 801 | # endif |
| @@ -814,7 +803,6 @@ _GL_CXXALIAS_SYS (expm1, double, (double x)); | |||
| 814 | _GL_CXXALIASWARN1 (expm1, double, (double x)); | 803 | _GL_CXXALIASWARN1 (expm1, double, (double x)); |
| 815 | # endif | 804 | # endif |
| 816 | #elif defined GNULIB_POSIXCHECK | 805 | #elif defined GNULIB_POSIXCHECK |
| 817 | # undef expm1 | ||
| 818 | # if HAVE_RAW_DECL_EXPM1 | 806 | # if HAVE_RAW_DECL_EXPM1 |
| 819 | _GL_WARN_ON_USE (expm1, "expm1 is unportable - " | 807 | _GL_WARN_ON_USE (expm1, "expm1 is unportable - " |
| 820 | "use gnulib module expm1 for portability"); | 808 | "use gnulib module expm1 for portability"); |
| @@ -827,13 +815,13 @@ _GL_WARN_ON_USE (expm1, "expm1 is unportable - " | |||
| 827 | # undef expm1l | 815 | # undef expm1l |
| 828 | # define expm1l rpl_expm1l | 816 | # define expm1l rpl_expm1l |
| 829 | # endif | 817 | # endif |
| 830 | _GL_FUNCDECL_RPL (expm1l, long double, (long double x)); | 818 | _GL_FUNCDECL_RPL (expm1l, long double, (long double x), ); |
| 831 | _GL_CXXALIAS_RPL (expm1l, long double, (long double x)); | 819 | _GL_CXXALIAS_RPL (expm1l, long double, (long double x)); |
| 832 | # else | 820 | # else |
| 833 | # if !@HAVE_DECL_EXPM1L@ | 821 | # if !@HAVE_EXPM1L@ |
| 834 | # undef expm1l | 822 | # undef expm1l |
| 835 | # if !(defined __cplusplus && defined _AIX) | 823 | # if !(defined __cplusplus && defined _AIX) |
| 836 | _GL_FUNCDECL_SYS (expm1l, long double, (long double x)); | 824 | _GL_FUNCDECL_SYS (expm1l, long double, (long double x), ); |
| 837 | # endif | 825 | # endif |
| 838 | # endif | 826 | # endif |
| 839 | _GL_CXXALIAS_SYS (expm1l, long double, (long double x)); | 827 | _GL_CXXALIAS_SYS (expm1l, long double, (long double x)); |
| @@ -842,7 +830,6 @@ _GL_CXXALIAS_SYS (expm1l, long double, (long double x)); | |||
| 842 | _GL_CXXALIASWARN (expm1l); | 830 | _GL_CXXALIASWARN (expm1l); |
| 843 | # endif | 831 | # endif |
| 844 | #elif defined GNULIB_POSIXCHECK | 832 | #elif defined GNULIB_POSIXCHECK |
| 845 | # undef expm1l | ||
| 846 | # if HAVE_RAW_DECL_EXPM1L | 833 | # if HAVE_RAW_DECL_EXPM1L |
| 847 | _GL_WARN_ON_USE (expm1l, "expm1l is unportable - " | 834 | _GL_WARN_ON_USE (expm1l, "expm1l is unportable - " |
| 848 | "use gnulib module expm1l for portability"); | 835 | "use gnulib module expm1l for portability"); |
| @@ -853,14 +840,13 @@ _GL_WARN_ON_USE (expm1l, "expm1l is unportable - " | |||
| 853 | #if @GNULIB_FABSF@ | 840 | #if @GNULIB_FABSF@ |
| 854 | # if !@HAVE_FABSF@ | 841 | # if !@HAVE_FABSF@ |
| 855 | # undef fabsf | 842 | # undef fabsf |
| 856 | _GL_FUNCDECL_SYS (fabsf, float, (float x)); | 843 | _GL_FUNCDECL_SYS (fabsf, float, (float x), ); |
| 857 | # endif | 844 | # endif |
| 858 | _GL_CXXALIAS_SYS (fabsf, float, (float x)); | 845 | _GL_CXXALIAS_SYS (fabsf, float, (float x)); |
| 859 | # if __GLIBC__ >= 2 | 846 | # if __GLIBC__ >= 2 |
| 860 | _GL_CXXALIASWARN (fabsf); | 847 | _GL_CXXALIASWARN (fabsf); |
| 861 | # endif | 848 | # endif |
| 862 | #elif defined GNULIB_POSIXCHECK | 849 | #elif defined GNULIB_POSIXCHECK |
| 863 | # undef fabsf | ||
| 864 | # if HAVE_RAW_DECL_FABSF | 850 | # if HAVE_RAW_DECL_FABSF |
| 865 | _GL_WARN_ON_USE (fabsf, "fabsf is unportable - " | 851 | _GL_WARN_ON_USE (fabsf, "fabsf is unportable - " |
| 866 | "use gnulib module fabsf for portability"); | 852 | "use gnulib module fabsf for portability"); |
| @@ -873,12 +859,12 @@ _GL_WARN_ON_USE (fabsf, "fabsf is unportable - " | |||
| 873 | # undef fabsl | 859 | # undef fabsl |
| 874 | # define fabsl rpl_fabsl | 860 | # define fabsl rpl_fabsl |
| 875 | # endif | 861 | # endif |
| 876 | _GL_FUNCDECL_RPL (fabsl, long double, (long double x)); | 862 | _GL_FUNCDECL_RPL (fabsl, long double, (long double x), ); |
| 877 | _GL_CXXALIAS_RPL (fabsl, long double, (long double x)); | 863 | _GL_CXXALIAS_RPL (fabsl, long double, (long double x)); |
| 878 | # else | 864 | # else |
| 879 | # if !@HAVE_FABSL@ | 865 | # if !@HAVE_FABSL@ |
| 880 | # undef fabsl | 866 | # undef fabsl |
| 881 | _GL_FUNCDECL_SYS (fabsl, long double, (long double x)); | 867 | _GL_FUNCDECL_SYS (fabsl, long double, (long double x), ); |
| 882 | # endif | 868 | # endif |
| 883 | _GL_CXXALIAS_SYS (fabsl, long double, (long double x)); | 869 | _GL_CXXALIAS_SYS (fabsl, long double, (long double x)); |
| 884 | # endif | 870 | # endif |
| @@ -886,7 +872,6 @@ _GL_CXXALIAS_SYS (fabsl, long double, (long double x)); | |||
| 886 | _GL_CXXALIASWARN (fabsl); | 872 | _GL_CXXALIASWARN (fabsl); |
| 887 | # endif | 873 | # endif |
| 888 | #elif defined GNULIB_POSIXCHECK | 874 | #elif defined GNULIB_POSIXCHECK |
| 889 | # undef fabsl | ||
| 890 | # if HAVE_RAW_DECL_FABSL | 875 | # if HAVE_RAW_DECL_FABSL |
| 891 | _GL_WARN_ON_USE (fabsl, "fabsl is unportable - " | 876 | _GL_WARN_ON_USE (fabsl, "fabsl is unportable - " |
| 892 | "use gnulib module fabsl for portability"); | 877 | "use gnulib module fabsl for portability"); |
| @@ -900,18 +885,17 @@ _GL_WARN_ON_USE (fabsl, "fabsl is unportable - " | |||
| 900 | # undef floorf | 885 | # undef floorf |
| 901 | # define floorf rpl_floorf | 886 | # define floorf rpl_floorf |
| 902 | # endif | 887 | # endif |
| 903 | _GL_FUNCDECL_RPL (floorf, float, (float x)); | 888 | _GL_FUNCDECL_RPL (floorf, float, (float x), ); |
| 904 | _GL_CXXALIAS_RPL (floorf, float, (float x)); | 889 | _GL_CXXALIAS_RPL (floorf, float, (float x)); |
| 905 | # else | 890 | # else |
| 906 | # if !@HAVE_DECL_FLOORF@ | 891 | # if !@HAVE_DECL_FLOORF@ |
| 907 | # undef floorf | 892 | # undef floorf |
| 908 | _GL_FUNCDECL_SYS (floorf, float, (float x)); | 893 | _GL_FUNCDECL_SYS (floorf, float, (float x), ); |
| 909 | # endif | 894 | # endif |
| 910 | _GL_CXXALIAS_SYS (floorf, float, (float x)); | 895 | _GL_CXXALIAS_SYS (floorf, float, (float x)); |
| 911 | # endif | 896 | # endif |
| 912 | _GL_CXXALIASWARN (floorf); | 897 | _GL_CXXALIASWARN (floorf); |
| 913 | #elif defined GNULIB_POSIXCHECK | 898 | #elif defined GNULIB_POSIXCHECK |
| 914 | # undef floorf | ||
| 915 | # if HAVE_RAW_DECL_FLOORF | 899 | # if HAVE_RAW_DECL_FLOORF |
| 916 | _GL_WARN_ON_USE (floorf, "floorf is unportable - " | 900 | _GL_WARN_ON_USE (floorf, "floorf is unportable - " |
| 917 | "use gnulib module floorf for portability"); | 901 | "use gnulib module floorf for portability"); |
| @@ -924,7 +908,7 @@ _GL_WARN_ON_USE (floorf, "floorf is unportable - " | |||
| 924 | # undef floor | 908 | # undef floor |
| 925 | # define floor rpl_floor | 909 | # define floor rpl_floor |
| 926 | # endif | 910 | # endif |
| 927 | _GL_FUNCDECL_RPL (floor, double, (double x)); | 911 | _GL_FUNCDECL_RPL (floor, double, (double x), ); |
| 928 | _GL_CXXALIAS_RPL (floor, double, (double x)); | 912 | _GL_CXXALIAS_RPL (floor, double, (double x)); |
| 929 | # else | 913 | # else |
| 930 | _GL_CXXALIAS_SYS (floor, double, (double x)); | 914 | _GL_CXXALIAS_SYS (floor, double, (double x)); |
| @@ -940,12 +924,12 @@ _GL_CXXALIASWARN1 (floor, double, (double x)); | |||
| 940 | # undef floorl | 924 | # undef floorl |
| 941 | # define floorl rpl_floorl | 925 | # define floorl rpl_floorl |
| 942 | # endif | 926 | # endif |
| 943 | _GL_FUNCDECL_RPL (floorl, long double, (long double x)); | 927 | _GL_FUNCDECL_RPL (floorl, long double, (long double x), ); |
| 944 | _GL_CXXALIAS_RPL (floorl, long double, (long double x)); | 928 | _GL_CXXALIAS_RPL (floorl, long double, (long double x)); |
| 945 | # else | 929 | # else |
| 946 | # if !@HAVE_DECL_FLOORL@ | 930 | # if !@HAVE_DECL_FLOORL@ |
| 947 | # undef floorl | 931 | # undef floorl |
| 948 | _GL_FUNCDECL_SYS (floorl, long double, (long double x)); | 932 | _GL_FUNCDECL_SYS (floorl, long double, (long double x), ); |
| 949 | # endif | 933 | # endif |
| 950 | _GL_CXXALIAS_SYS (floorl, long double, (long double x)); | 934 | _GL_CXXALIAS_SYS (floorl, long double, (long double x)); |
| 951 | # endif | 935 | # endif |
| @@ -953,7 +937,6 @@ _GL_CXXALIAS_SYS (floorl, long double, (long double x)); | |||
| 953 | _GL_CXXALIASWARN (floorl); | 937 | _GL_CXXALIASWARN (floorl); |
| 954 | # endif | 938 | # endif |
| 955 | #elif defined GNULIB_POSIXCHECK | 939 | #elif defined GNULIB_POSIXCHECK |
| 956 | # undef floorl | ||
| 957 | # if HAVE_RAW_DECL_FLOORL | 940 | # if HAVE_RAW_DECL_FLOORL |
| 958 | _GL_WARN_ON_USE (floorl, "floorl is unportable - " | 941 | _GL_WARN_ON_USE (floorl, "floorl is unportable - " |
| 959 | "use gnulib module floorl for portability"); | 942 | "use gnulib module floorl for portability"); |
| @@ -967,18 +950,17 @@ _GL_WARN_ON_USE (floorl, "floorl is unportable - " | |||
| 967 | # undef fmaf | 950 | # undef fmaf |
| 968 | # define fmaf rpl_fmaf | 951 | # define fmaf rpl_fmaf |
| 969 | # endif | 952 | # endif |
| 970 | _GL_FUNCDECL_RPL (fmaf, float, (float x, float y, float z)); | 953 | _GL_FUNCDECL_RPL (fmaf, float, (float x, float y, float z), ); |
| 971 | _GL_CXXALIAS_RPL (fmaf, float, (float x, float y, float z)); | 954 | _GL_CXXALIAS_RPL (fmaf, float, (float x, float y, float z)); |
| 972 | # else | 955 | # else |
| 973 | # if !@HAVE_FMAF@ | 956 | # if !@HAVE_FMAF@ |
| 974 | # undef fmaf | 957 | # undef fmaf |
| 975 | _GL_FUNCDECL_SYS (fmaf, float, (float x, float y, float z)); | 958 | _GL_FUNCDECL_SYS (fmaf, float, (float x, float y, float z), ); |
| 976 | # endif | 959 | # endif |
| 977 | _GL_CXXALIAS_SYS (fmaf, float, (float x, float y, float z)); | 960 | _GL_CXXALIAS_SYS (fmaf, float, (float x, float y, float z)); |
| 978 | # endif | 961 | # endif |
| 979 | _GL_CXXALIASWARN (fmaf); | 962 | _GL_CXXALIASWARN (fmaf); |
| 980 | #elif defined GNULIB_POSIXCHECK | 963 | #elif defined GNULIB_POSIXCHECK |
| 981 | # undef fmaf | ||
| 982 | # if HAVE_RAW_DECL_FMAF | 964 | # if HAVE_RAW_DECL_FMAF |
| 983 | _GL_WARN_ON_USE (fmaf, "fmaf is unportable - " | 965 | _GL_WARN_ON_USE (fmaf, "fmaf is unportable - " |
| 984 | "use gnulib module fmaf for portability"); | 966 | "use gnulib module fmaf for portability"); |
| @@ -991,12 +973,12 @@ _GL_WARN_ON_USE (fmaf, "fmaf is unportable - " | |||
| 991 | # undef fma | 973 | # undef fma |
| 992 | # define fma rpl_fma | 974 | # define fma rpl_fma |
| 993 | # endif | 975 | # endif |
| 994 | _GL_FUNCDECL_RPL (fma, double, (double x, double y, double z)); | 976 | _GL_FUNCDECL_RPL (fma, double, (double x, double y, double z), ); |
| 995 | _GL_CXXALIAS_RPL (fma, double, (double x, double y, double z)); | 977 | _GL_CXXALIAS_RPL (fma, double, (double x, double y, double z)); |
| 996 | # else | 978 | # else |
| 997 | # if !@HAVE_FMA@ | 979 | # if !@HAVE_FMA@ |
| 998 | # undef fma | 980 | # undef fma |
| 999 | _GL_FUNCDECL_SYS (fma, double, (double x, double y, double z)); | 981 | _GL_FUNCDECL_SYS (fma, double, (double x, double y, double z), ); |
| 1000 | # endif | 982 | # endif |
| 1001 | _GL_CXXALIAS_SYS (fma, double, (double x, double y, double z)); | 983 | _GL_CXXALIAS_SYS (fma, double, (double x, double y, double z)); |
| 1002 | # endif | 984 | # endif |
| @@ -1004,7 +986,6 @@ _GL_CXXALIAS_SYS (fma, double, (double x, double y, double z)); | |||
| 1004 | _GL_CXXALIASWARN1 (fma, double, (double x, double y, double z)); | 986 | _GL_CXXALIASWARN1 (fma, double, (double x, double y, double z)); |
| 1005 | # endif | 987 | # endif |
| 1006 | #elif defined GNULIB_POSIXCHECK | 988 | #elif defined GNULIB_POSIXCHECK |
| 1007 | # undef fma | ||
| 1008 | # if HAVE_RAW_DECL_FMA | 989 | # if HAVE_RAW_DECL_FMA |
| 1009 | _GL_WARN_ON_USE (fma, "fma is unportable - " | 990 | _GL_WARN_ON_USE (fma, "fma is unportable - " |
| 1010 | "use gnulib module fma for portability"); | 991 | "use gnulib module fma for portability"); |
| @@ -1018,7 +999,7 @@ _GL_WARN_ON_USE (fma, "fma is unportable - " | |||
| 1018 | # define fmal rpl_fmal | 999 | # define fmal rpl_fmal |
| 1019 | # endif | 1000 | # endif |
| 1020 | _GL_FUNCDECL_RPL (fmal, long double, | 1001 | _GL_FUNCDECL_RPL (fmal, long double, |
| 1021 | (long double x, long double y, long double z)); | 1002 | (long double x, long double y, long double z), ); |
| 1022 | _GL_CXXALIAS_RPL (fmal, long double, | 1003 | _GL_CXXALIAS_RPL (fmal, long double, |
| 1023 | (long double x, long double y, long double z)); | 1004 | (long double x, long double y, long double z)); |
| 1024 | # else | 1005 | # else |
| @@ -1026,7 +1007,7 @@ _GL_CXXALIAS_RPL (fmal, long double, | |||
| 1026 | # undef fmal | 1007 | # undef fmal |
| 1027 | # if !(defined __cplusplus && defined _AIX) | 1008 | # if !(defined __cplusplus && defined _AIX) |
| 1028 | _GL_FUNCDECL_SYS (fmal, long double, | 1009 | _GL_FUNCDECL_SYS (fmal, long double, |
| 1029 | (long double x, long double y, long double z)); | 1010 | (long double x, long double y, long double z), ); |
| 1030 | # endif | 1011 | # endif |
| 1031 | # endif | 1012 | # endif |
| 1032 | _GL_CXXALIAS_SYS (fmal, long double, | 1013 | _GL_CXXALIAS_SYS (fmal, long double, |
| @@ -1036,7 +1017,6 @@ _GL_CXXALIAS_SYS (fmal, long double, | |||
| 1036 | _GL_CXXALIASWARN (fmal); | 1017 | _GL_CXXALIASWARN (fmal); |
| 1037 | # endif | 1018 | # endif |
| 1038 | #elif defined GNULIB_POSIXCHECK | 1019 | #elif defined GNULIB_POSIXCHECK |
| 1039 | # undef fmal | ||
| 1040 | # if HAVE_RAW_DECL_FMAL | 1020 | # if HAVE_RAW_DECL_FMAL |
| 1041 | _GL_WARN_ON_USE (fmal, "fmal is unportable - " | 1021 | _GL_WARN_ON_USE (fmal, "fmal is unportable - " |
| 1042 | "use gnulib module fmal for portability"); | 1022 | "use gnulib module fmal for portability"); |
| @@ -1050,18 +1030,17 @@ _GL_WARN_ON_USE (fmal, "fmal is unportable - " | |||
| 1050 | # undef fmodf | 1030 | # undef fmodf |
| 1051 | # define fmodf rpl_fmodf | 1031 | # define fmodf rpl_fmodf |
| 1052 | # endif | 1032 | # endif |
| 1053 | _GL_FUNCDECL_RPL (fmodf, float, (float x, float y)); | 1033 | _GL_FUNCDECL_RPL (fmodf, float, (float x, float y), ); |
| 1054 | _GL_CXXALIAS_RPL (fmodf, float, (float x, float y)); | 1034 | _GL_CXXALIAS_RPL (fmodf, float, (float x, float y)); |
| 1055 | # else | 1035 | # else |
| 1056 | # if !@HAVE_FMODF@ | 1036 | # if !@HAVE_FMODF@ |
| 1057 | # undef fmodf | 1037 | # undef fmodf |
| 1058 | _GL_FUNCDECL_SYS (fmodf, float, (float x, float y)); | 1038 | _GL_FUNCDECL_SYS (fmodf, float, (float x, float y), ); |
| 1059 | # endif | 1039 | # endif |
| 1060 | _GL_CXXALIAS_SYS (fmodf, float, (float x, float y)); | 1040 | _GL_CXXALIAS_SYS (fmodf, float, (float x, float y)); |
| 1061 | # endif | 1041 | # endif |
| 1062 | _GL_CXXALIASWARN (fmodf); | 1042 | _GL_CXXALIASWARN (fmodf); |
| 1063 | #elif defined GNULIB_POSIXCHECK | 1043 | #elif defined GNULIB_POSIXCHECK |
| 1064 | # undef fmodf | ||
| 1065 | # if HAVE_RAW_DECL_FMODF | 1044 | # if HAVE_RAW_DECL_FMODF |
| 1066 | _GL_WARN_ON_USE (fmodf, "fmodf is unportable - " | 1045 | _GL_WARN_ON_USE (fmodf, "fmodf is unportable - " |
| 1067 | "use gnulib module fmodf for portability"); | 1046 | "use gnulib module fmodf for portability"); |
| @@ -1074,7 +1053,7 @@ _GL_WARN_ON_USE (fmodf, "fmodf is unportable - " | |||
| 1074 | # undef fmod | 1053 | # undef fmod |
| 1075 | # define fmod rpl_fmod | 1054 | # define fmod rpl_fmod |
| 1076 | # endif | 1055 | # endif |
| 1077 | _GL_FUNCDECL_RPL (fmod, double, (double x, double y)); | 1056 | _GL_FUNCDECL_RPL (fmod, double, (double x, double y), ); |
| 1078 | _GL_CXXALIAS_RPL (fmod, double, (double x, double y)); | 1057 | _GL_CXXALIAS_RPL (fmod, double, (double x, double y)); |
| 1079 | # else | 1058 | # else |
| 1080 | _GL_CXXALIAS_SYS (fmod, double, (double x, double y)); | 1059 | _GL_CXXALIAS_SYS (fmod, double, (double x, double y)); |
| @@ -1083,7 +1062,6 @@ _GL_CXXALIAS_SYS (fmod, double, (double x, double y)); | |||
| 1083 | _GL_CXXALIASWARN1 (fmod, double, (double x, double y)); | 1062 | _GL_CXXALIASWARN1 (fmod, double, (double x, double y)); |
| 1084 | # endif | 1063 | # endif |
| 1085 | #elif defined GNULIB_POSIXCHECK | 1064 | #elif defined GNULIB_POSIXCHECK |
| 1086 | # undef fmod | ||
| 1087 | # if HAVE_RAW_DECL_FMOD | 1065 | # if HAVE_RAW_DECL_FMOD |
| 1088 | _GL_WARN_ON_USE (fmod, "fmod has portability problems - " | 1066 | _GL_WARN_ON_USE (fmod, "fmod has portability problems - " |
| 1089 | "use gnulib module fmod for portability"); | 1067 | "use gnulib module fmod for portability"); |
| @@ -1096,12 +1074,12 @@ _GL_WARN_ON_USE (fmod, "fmod has portability problems - " | |||
| 1096 | # undef fmodl | 1074 | # undef fmodl |
| 1097 | # define fmodl rpl_fmodl | 1075 | # define fmodl rpl_fmodl |
| 1098 | # endif | 1076 | # endif |
| 1099 | _GL_FUNCDECL_RPL (fmodl, long double, (long double x, long double y)); | 1077 | _GL_FUNCDECL_RPL (fmodl, long double, (long double x, long double y), ); |
| 1100 | _GL_CXXALIAS_RPL (fmodl, long double, (long double x, long double y)); | 1078 | _GL_CXXALIAS_RPL (fmodl, long double, (long double x, long double y)); |
| 1101 | # else | 1079 | # else |
| 1102 | # if !@HAVE_FMODL@ | 1080 | # if !@HAVE_FMODL@ |
| 1103 | # undef fmodl | 1081 | # undef fmodl |
| 1104 | _GL_FUNCDECL_SYS (fmodl, long double, (long double x, long double y)); | 1082 | _GL_FUNCDECL_SYS (fmodl, long double, (long double x, long double y), ); |
| 1105 | # endif | 1083 | # endif |
| 1106 | _GL_CXXALIAS_SYS (fmodl, long double, (long double x, long double y)); | 1084 | _GL_CXXALIAS_SYS (fmodl, long double, (long double x, long double y)); |
| 1107 | # endif | 1085 | # endif |
| @@ -1109,7 +1087,6 @@ _GL_CXXALIAS_SYS (fmodl, long double, (long double x, long double y)); | |||
| 1109 | _GL_CXXALIASWARN (fmodl); | 1087 | _GL_CXXALIASWARN (fmodl); |
| 1110 | # endif | 1088 | # endif |
| 1111 | #elif defined GNULIB_POSIXCHECK | 1089 | #elif defined GNULIB_POSIXCHECK |
| 1112 | # undef fmodl | ||
| 1113 | # if HAVE_RAW_DECL_FMODL | 1090 | # if HAVE_RAW_DECL_FMODL |
| 1114 | _GL_WARN_ON_USE (fmodl, "fmodl is unportable - " | 1091 | _GL_WARN_ON_USE (fmodl, "fmodl is unportable - " |
| 1115 | "use gnulib module fmodl for portability"); | 1092 | "use gnulib module fmodl for portability"); |
| @@ -1130,12 +1107,12 @@ _GL_WARN_ON_USE (fmodl, "fmodl is unportable - " | |||
| 1130 | # undef frexpf | 1107 | # undef frexpf |
| 1131 | # define frexpf rpl_frexpf | 1108 | # define frexpf rpl_frexpf |
| 1132 | # endif | 1109 | # endif |
| 1133 | _GL_FUNCDECL_RPL (frexpf, float, (float x, int *expptr) _GL_ARG_NONNULL ((2))); | 1110 | _GL_FUNCDECL_RPL (frexpf, float, (float x, int *expptr), _GL_ARG_NONNULL ((2))); |
| 1134 | _GL_CXXALIAS_RPL (frexpf, float, (float x, int *expptr)); | 1111 | _GL_CXXALIAS_RPL (frexpf, float, (float x, int *expptr)); |
| 1135 | # else | 1112 | # else |
| 1136 | # if !@HAVE_FREXPF@ | 1113 | # if !@HAVE_FREXPF@ |
| 1137 | # undef frexpf | 1114 | # undef frexpf |
| 1138 | _GL_FUNCDECL_SYS (frexpf, float, (float x, int *expptr) _GL_ARG_NONNULL ((2))); | 1115 | _GL_FUNCDECL_SYS (frexpf, float, (float x, int *expptr), _GL_ARG_NONNULL ((2))); |
| 1139 | # endif | 1116 | # endif |
| 1140 | _GL_CXXALIAS_SYS (frexpf, float, (float x, int *expptr)); | 1117 | _GL_CXXALIAS_SYS (frexpf, float, (float x, int *expptr)); |
| 1141 | # endif | 1118 | # endif |
| @@ -1143,7 +1120,6 @@ _GL_CXXALIAS_SYS (frexpf, float, (float x, int *expptr)); | |||
| 1143 | _GL_CXXALIASWARN (frexpf); | 1120 | _GL_CXXALIASWARN (frexpf); |
| 1144 | # endif | 1121 | # endif |
| 1145 | #elif defined GNULIB_POSIXCHECK | 1122 | #elif defined GNULIB_POSIXCHECK |
| 1146 | # undef frexpf | ||
| 1147 | # if HAVE_RAW_DECL_FREXPF | 1123 | # if HAVE_RAW_DECL_FREXPF |
| 1148 | _GL_WARN_ON_USE (frexpf, "frexpf is unportable - " | 1124 | _GL_WARN_ON_USE (frexpf, "frexpf is unportable - " |
| 1149 | "use gnulib module frexpf for portability"); | 1125 | "use gnulib module frexpf for portability"); |
| @@ -1163,7 +1139,8 @@ _GL_WARN_ON_USE (frexpf, "frexpf is unportable - " | |||
| 1163 | # undef frexp | 1139 | # undef frexp |
| 1164 | # define frexp rpl_frexp | 1140 | # define frexp rpl_frexp |
| 1165 | # endif | 1141 | # endif |
| 1166 | _GL_FUNCDECL_RPL (frexp, double, (double x, int *expptr) _GL_ARG_NONNULL ((2))); | 1142 | _GL_FUNCDECL_RPL (frexp, double, (double x, int *expptr), |
| 1143 | _GL_ARG_NONNULL ((2))); | ||
| 1167 | _GL_CXXALIAS_RPL (frexp, double, (double x, int *expptr)); | 1144 | _GL_CXXALIAS_RPL (frexp, double, (double x, int *expptr)); |
| 1168 | # else | 1145 | # else |
| 1169 | _GL_CXXALIAS_SYS (frexp, double, (double x, int *expptr)); | 1146 | _GL_CXXALIAS_SYS (frexp, double, (double x, int *expptr)); |
| @@ -1174,8 +1151,10 @@ _GL_CXXALIASWARN1 (frexp, double, (double x, int *expptr)); | |||
| 1174 | #elif defined GNULIB_POSIXCHECK | 1151 | #elif defined GNULIB_POSIXCHECK |
| 1175 | # undef frexp | 1152 | # undef frexp |
| 1176 | /* Assume frexp is always declared. */ | 1153 | /* Assume frexp is always declared. */ |
| 1177 | _GL_WARN_ON_USE (frexp, "frexp is unportable - " | 1154 | _GL_WARN_ON_USE_CXX (frexp, |
| 1178 | "use gnulib module frexp for portability"); | 1155 | double, double, (double, int *), |
| 1156 | "frexp is unportable - " | ||
| 1157 | "use gnulib module frexp for portability"); | ||
| 1179 | #endif | 1158 | #endif |
| 1180 | 1159 | ||
| 1181 | /* Write x as | 1160 | /* Write x as |
| @@ -1191,12 +1170,12 @@ _GL_WARN_ON_USE (frexp, "frexp is unportable - " | |||
| 1191 | # define frexpl rpl_frexpl | 1170 | # define frexpl rpl_frexpl |
| 1192 | # endif | 1171 | # endif |
| 1193 | _GL_FUNCDECL_RPL (frexpl, long double, | 1172 | _GL_FUNCDECL_RPL (frexpl, long double, |
| 1194 | (long double x, int *expptr) _GL_ARG_NONNULL ((2))); | 1173 | (long double x, int *expptr), _GL_ARG_NONNULL ((2))); |
| 1195 | _GL_CXXALIAS_RPL (frexpl, long double, (long double x, int *expptr)); | 1174 | _GL_CXXALIAS_RPL (frexpl, long double, (long double x, int *expptr)); |
| 1196 | #else | 1175 | #else |
| 1197 | # if !@HAVE_DECL_FREXPL@ | 1176 | # if !@HAVE_DECL_FREXPL@ |
| 1198 | _GL_FUNCDECL_SYS (frexpl, long double, | 1177 | _GL_FUNCDECL_SYS (frexpl, long double, |
| 1199 | (long double x, int *expptr) _GL_ARG_NONNULL ((2))); | 1178 | (long double x, int *expptr), _GL_ARG_NONNULL ((2))); |
| 1200 | # endif | 1179 | # endif |
| 1201 | # if @GNULIB_FREXPL@ | 1180 | # if @GNULIB_FREXPL@ |
| 1202 | _GL_CXXALIAS_SYS (frexpl, long double, (long double x, int *expptr)); | 1181 | _GL_CXXALIAS_SYS (frexpl, long double, (long double x, int *expptr)); |
| @@ -1208,7 +1187,6 @@ _GL_CXXALIASWARN (frexpl); | |||
| 1208 | # endif | 1187 | # endif |
| 1209 | #endif | 1188 | #endif |
| 1210 | #if !@GNULIB_FREXPL@ && defined GNULIB_POSIXCHECK | 1189 | #if !@GNULIB_FREXPL@ && defined GNULIB_POSIXCHECK |
| 1211 | # undef frexpl | ||
| 1212 | # if HAVE_RAW_DECL_FREXPL | 1190 | # if HAVE_RAW_DECL_FREXPL |
| 1213 | _GL_WARN_ON_USE (frexpl, "frexpl is unportable - " | 1191 | _GL_WARN_ON_USE (frexpl, "frexpl is unportable - " |
| 1214 | "use gnulib module frexpl for portability"); | 1192 | "use gnulib module frexpl for portability"); |
| @@ -1223,11 +1201,11 @@ _GL_WARN_ON_USE (frexpl, "frexpl is unportable - " | |||
| 1223 | # undef hypotf | 1201 | # undef hypotf |
| 1224 | # define hypotf rpl_hypotf | 1202 | # define hypotf rpl_hypotf |
| 1225 | # endif | 1203 | # endif |
| 1226 | _GL_FUNCDECL_RPL (hypotf, float, (float x, float y)); | 1204 | _GL_FUNCDECL_RPL (hypotf, float, (float x, float y), ); |
| 1227 | _GL_CXXALIAS_RPL (hypotf, float, (float x, float y)); | 1205 | _GL_CXXALIAS_RPL (hypotf, float, (float x, float y)); |
| 1228 | # else | 1206 | # else |
| 1229 | # if !@HAVE_HYPOTF@ | 1207 | # if !@HAVE_HYPOTF@ |
| 1230 | _GL_FUNCDECL_SYS (hypotf, float, (float x, float y)); | 1208 | _GL_FUNCDECL_SYS (hypotf, float, (float x, float y), ); |
| 1231 | # endif | 1209 | # endif |
| 1232 | _GL_CXXALIAS_SYS (hypotf, float, (float x, float y)); | 1210 | _GL_CXXALIAS_SYS (hypotf, float, (float x, float y)); |
| 1233 | # endif | 1211 | # endif |
| @@ -1235,7 +1213,6 @@ _GL_CXXALIAS_SYS (hypotf, float, (float x, float y)); | |||
| 1235 | _GL_CXXALIASWARN (hypotf); | 1213 | _GL_CXXALIASWARN (hypotf); |
| 1236 | # endif | 1214 | # endif |
| 1237 | #elif defined GNULIB_POSIXCHECK | 1215 | #elif defined GNULIB_POSIXCHECK |
| 1238 | # undef hypotf | ||
| 1239 | # if HAVE_RAW_DECL_HYPOTF | 1216 | # if HAVE_RAW_DECL_HYPOTF |
| 1240 | _GL_WARN_ON_USE (hypotf, "hypotf is unportable - " | 1217 | _GL_WARN_ON_USE (hypotf, "hypotf is unportable - " |
| 1241 | "use gnulib module hypotf for portability"); | 1218 | "use gnulib module hypotf for portability"); |
| @@ -1249,7 +1226,7 @@ _GL_WARN_ON_USE (hypotf, "hypotf is unportable - " | |||
| 1249 | # undef hypot | 1226 | # undef hypot |
| 1250 | # define hypot rpl_hypot | 1227 | # define hypot rpl_hypot |
| 1251 | # endif | 1228 | # endif |
| 1252 | _GL_FUNCDECL_RPL (hypot, double, (double x, double y)); | 1229 | _GL_FUNCDECL_RPL (hypot, double, (double x, double y), ); |
| 1253 | _GL_CXXALIAS_RPL (hypot, double, (double x, double y)); | 1230 | _GL_CXXALIAS_RPL (hypot, double, (double x, double y)); |
| 1254 | # else | 1231 | # else |
| 1255 | _GL_CXXALIAS_SYS (hypot, double, (double x, double y)); | 1232 | _GL_CXXALIAS_SYS (hypot, double, (double x, double y)); |
| @@ -1258,7 +1235,6 @@ _GL_CXXALIAS_SYS (hypot, double, (double x, double y)); | |||
| 1258 | _GL_CXXALIASWARN1 (hypot, double, (double x, double y)); | 1235 | _GL_CXXALIASWARN1 (hypot, double, (double x, double y)); |
| 1259 | # endif | 1236 | # endif |
| 1260 | #elif defined GNULIB_POSIXCHECK | 1237 | #elif defined GNULIB_POSIXCHECK |
| 1261 | # undef hypot | ||
| 1262 | # if HAVE_RAW_DECL_HYPOT | 1238 | # if HAVE_RAW_DECL_HYPOT |
| 1263 | _GL_WARN_ON_USE (hypotf, "hypot has portability problems - " | 1239 | _GL_WARN_ON_USE (hypotf, "hypot has portability problems - " |
| 1264 | "use gnulib module hypot for portability"); | 1240 | "use gnulib module hypot for portability"); |
| @@ -1272,11 +1248,11 @@ _GL_WARN_ON_USE (hypotf, "hypot has portability problems - " | |||
| 1272 | # undef hypotl | 1248 | # undef hypotl |
| 1273 | # define hypotl rpl_hypotl | 1249 | # define hypotl rpl_hypotl |
| 1274 | # endif | 1250 | # endif |
| 1275 | _GL_FUNCDECL_RPL (hypotl, long double, (long double x, long double y)); | 1251 | _GL_FUNCDECL_RPL (hypotl, long double, (long double x, long double y), ); |
| 1276 | _GL_CXXALIAS_RPL (hypotl, long double, (long double x, long double y)); | 1252 | _GL_CXXALIAS_RPL (hypotl, long double, (long double x, long double y)); |
| 1277 | # else | 1253 | # else |
| 1278 | # if !@HAVE_HYPOTL@ | 1254 | # if !@HAVE_HYPOTL@ |
| 1279 | _GL_FUNCDECL_SYS (hypotl, long double, (long double x, long double y)); | 1255 | _GL_FUNCDECL_SYS (hypotl, long double, (long double x, long double y), ); |
| 1280 | # endif | 1256 | # endif |
| 1281 | _GL_CXXALIAS_SYS (hypotl, long double, (long double x, long double y)); | 1257 | _GL_CXXALIAS_SYS (hypotl, long double, (long double x, long double y)); |
| 1282 | # endif | 1258 | # endif |
| @@ -1284,7 +1260,6 @@ _GL_CXXALIAS_SYS (hypotl, long double, (long double x, long double y)); | |||
| 1284 | _GL_CXXALIASWARN (hypotl); | 1260 | _GL_CXXALIASWARN (hypotl); |
| 1285 | # endif | 1261 | # endif |
| 1286 | #elif defined GNULIB_POSIXCHECK | 1262 | #elif defined GNULIB_POSIXCHECK |
| 1287 | # undef hypotl | ||
| 1288 | # if HAVE_RAW_DECL_HYPOTL | 1263 | # if HAVE_RAW_DECL_HYPOTL |
| 1289 | _GL_WARN_ON_USE (hypotl, "hypotl is unportable - " | 1264 | _GL_WARN_ON_USE (hypotl, "hypotl is unportable - " |
| 1290 | "use gnulib module hypotl for portability"); | 1265 | "use gnulib module hypotl for portability"); |
| @@ -1298,17 +1273,16 @@ _GL_WARN_ON_USE (hypotl, "hypotl is unportable - " | |||
| 1298 | # undef ilogbf | 1273 | # undef ilogbf |
| 1299 | # define ilogbf rpl_ilogbf | 1274 | # define ilogbf rpl_ilogbf |
| 1300 | # endif | 1275 | # endif |
| 1301 | _GL_FUNCDECL_RPL (ilogbf, int, (float x)); | 1276 | _GL_FUNCDECL_RPL (ilogbf, int, (float x), ); |
| 1302 | _GL_CXXALIAS_RPL (ilogbf, int, (float x)); | 1277 | _GL_CXXALIAS_RPL (ilogbf, int, (float x)); |
| 1303 | # else | 1278 | # else |
| 1304 | # if !@HAVE_ILOGBF@ | 1279 | # if !@HAVE_ILOGBF@ |
| 1305 | _GL_FUNCDECL_SYS (ilogbf, int, (float x)); | 1280 | _GL_FUNCDECL_SYS (ilogbf, int, (float x), ); |
| 1306 | # endif | 1281 | # endif |
| 1307 | _GL_CXXALIAS_SYS (ilogbf, int, (float x)); | 1282 | _GL_CXXALIAS_SYS (ilogbf, int, (float x)); |
| 1308 | # endif | 1283 | # endif |
| 1309 | _GL_CXXALIASWARN (ilogbf); | 1284 | _GL_CXXALIASWARN (ilogbf); |
| 1310 | #elif defined GNULIB_POSIXCHECK | 1285 | #elif defined GNULIB_POSIXCHECK |
| 1311 | # undef ilogbf | ||
| 1312 | # if HAVE_RAW_DECL_ILOGBF | 1286 | # if HAVE_RAW_DECL_ILOGBF |
| 1313 | _GL_WARN_ON_USE (ilogbf, "ilogbf is unportable - " | 1287 | _GL_WARN_ON_USE (ilogbf, "ilogbf is unportable - " |
| 1314 | "use gnulib module ilogbf for portability"); | 1288 | "use gnulib module ilogbf for portability"); |
| @@ -1321,11 +1295,11 @@ _GL_WARN_ON_USE (ilogbf, "ilogbf is unportable - " | |||
| 1321 | # undef ilogb | 1295 | # undef ilogb |
| 1322 | # define ilogb rpl_ilogb | 1296 | # define ilogb rpl_ilogb |
| 1323 | # endif | 1297 | # endif |
| 1324 | _GL_FUNCDECL_RPL (ilogb, int, (double x)); | 1298 | _GL_FUNCDECL_RPL (ilogb, int, (double x), ); |
| 1325 | _GL_CXXALIAS_RPL (ilogb, int, (double x)); | 1299 | _GL_CXXALIAS_RPL (ilogb, int, (double x)); |
| 1326 | # else | 1300 | # else |
| 1327 | # if !@HAVE_ILOGB@ | 1301 | # if !@HAVE_ILOGB@ |
| 1328 | _GL_FUNCDECL_SYS (ilogb, int, (double x)); | 1302 | _GL_FUNCDECL_SYS (ilogb, int, (double x), ); |
| 1329 | # endif | 1303 | # endif |
| 1330 | _GL_CXXALIAS_SYS (ilogb, int, (double x)); | 1304 | _GL_CXXALIAS_SYS (ilogb, int, (double x)); |
| 1331 | # endif | 1305 | # endif |
| @@ -1333,7 +1307,6 @@ _GL_CXXALIAS_SYS (ilogb, int, (double x)); | |||
| 1333 | _GL_CXXALIASWARN1 (ilogb, int, (double x)); | 1307 | _GL_CXXALIASWARN1 (ilogb, int, (double x)); |
| 1334 | # endif | 1308 | # endif |
| 1335 | #elif defined GNULIB_POSIXCHECK | 1309 | #elif defined GNULIB_POSIXCHECK |
| 1336 | # undef ilogb | ||
| 1337 | # if HAVE_RAW_DECL_ILOGB | 1310 | # if HAVE_RAW_DECL_ILOGB |
| 1338 | _GL_WARN_ON_USE (ilogb, "ilogb is unportable - " | 1311 | _GL_WARN_ON_USE (ilogb, "ilogb is unportable - " |
| 1339 | "use gnulib module ilogb for portability"); | 1312 | "use gnulib module ilogb for portability"); |
| @@ -1346,12 +1319,12 @@ _GL_WARN_ON_USE (ilogb, "ilogb is unportable - " | |||
| 1346 | # undef ilogbl | 1319 | # undef ilogbl |
| 1347 | # define ilogbl rpl_ilogbl | 1320 | # define ilogbl rpl_ilogbl |
| 1348 | # endif | 1321 | # endif |
| 1349 | _GL_FUNCDECL_RPL (ilogbl, int, (long double x)); | 1322 | _GL_FUNCDECL_RPL (ilogbl, int, (long double x), ); |
| 1350 | _GL_CXXALIAS_RPL (ilogbl, int, (long double x)); | 1323 | _GL_CXXALIAS_RPL (ilogbl, int, (long double x)); |
| 1351 | # else | 1324 | # else |
| 1352 | # if !@HAVE_ILOGBL@ | 1325 | # if !@HAVE_ILOGBL@ |
| 1353 | # undef ilogbl | 1326 | # undef ilogbl |
| 1354 | _GL_FUNCDECL_SYS (ilogbl, int, (long double x)); | 1327 | _GL_FUNCDECL_SYS (ilogbl, int, (long double x), ); |
| 1355 | # endif | 1328 | # endif |
| 1356 | _GL_CXXALIAS_SYS (ilogbl, int, (long double x)); | 1329 | _GL_CXXALIAS_SYS (ilogbl, int, (long double x)); |
| 1357 | # endif | 1330 | # endif |
| @@ -1359,7 +1332,6 @@ _GL_CXXALIAS_SYS (ilogbl, int, (long double x)); | |||
| 1359 | _GL_CXXALIASWARN (ilogbl); | 1332 | _GL_CXXALIASWARN (ilogbl); |
| 1360 | # endif | 1333 | # endif |
| 1361 | #elif defined GNULIB_POSIXCHECK | 1334 | #elif defined GNULIB_POSIXCHECK |
| 1362 | # undef ilogbl | ||
| 1363 | # if HAVE_RAW_DECL_ILOGBL | 1335 | # if HAVE_RAW_DECL_ILOGBL |
| 1364 | _GL_WARN_ON_USE (ilogbl, "ilogbl is unportable - " | 1336 | _GL_WARN_ON_USE (ilogbl, "ilogbl is unportable - " |
| 1365 | "use gnulib module ilogbl for portability"); | 1337 | "use gnulib module ilogbl for portability"); |
| @@ -1420,14 +1392,13 @@ _GL_CXXALIASWARN (jn); | |||
| 1420 | #if @GNULIB_LDEXPF@ | 1392 | #if @GNULIB_LDEXPF@ |
| 1421 | # if !@HAVE_LDEXPF@ | 1393 | # if !@HAVE_LDEXPF@ |
| 1422 | # undef ldexpf | 1394 | # undef ldexpf |
| 1423 | _GL_FUNCDECL_SYS (ldexpf, float, (float x, int exp)); | 1395 | _GL_FUNCDECL_SYS (ldexpf, float, (float x, int exp), ); |
| 1424 | # endif | 1396 | # endif |
| 1425 | _GL_CXXALIAS_SYS (ldexpf, float, (float x, int exp)); | 1397 | _GL_CXXALIAS_SYS (ldexpf, float, (float x, int exp)); |
| 1426 | # if __GLIBC__ >= 2 | 1398 | # if __GLIBC__ >= 2 |
| 1427 | _GL_CXXALIASWARN (ldexpf); | 1399 | _GL_CXXALIASWARN (ldexpf); |
| 1428 | # endif | 1400 | # endif |
| 1429 | #elif defined GNULIB_POSIXCHECK | 1401 | #elif defined GNULIB_POSIXCHECK |
| 1430 | # undef ldexpf | ||
| 1431 | # if HAVE_RAW_DECL_LDEXPF | 1402 | # if HAVE_RAW_DECL_LDEXPF |
| 1432 | _GL_WARN_ON_USE (ldexpf, "ldexpf is unportable - " | 1403 | _GL_WARN_ON_USE (ldexpf, "ldexpf is unportable - " |
| 1433 | "use gnulib module ldexpf for portability"); | 1404 | "use gnulib module ldexpf for portability"); |
| @@ -1441,7 +1412,7 @@ _GL_WARN_ON_USE (ldexpf, "ldexpf is unportable - " | |||
| 1441 | # undef ldexp | 1412 | # undef ldexp |
| 1442 | # define ldexp rpl_ldexp | 1413 | # define ldexp rpl_ldexp |
| 1443 | # endif | 1414 | # endif |
| 1444 | _GL_FUNCDECL_RPL (ldexp, double, (double x, int exp)); | 1415 | _GL_FUNCDECL_RPL (ldexp, double, (double x, int exp), ); |
| 1445 | _GL_CXXALIAS_RPL (ldexp, double, (double x, int exp)); | 1416 | _GL_CXXALIAS_RPL (ldexp, double, (double x, int exp)); |
| 1446 | # else | 1417 | # else |
| 1447 | /* Assume ldexp is always declared. */ | 1418 | /* Assume ldexp is always declared. */ |
| @@ -1453,8 +1424,10 @@ _GL_CXXALIASWARN1 (ldexp, double, (double x, int exp)); | |||
| 1453 | #elif defined GNULIB_POSIXCHECK | 1424 | #elif defined GNULIB_POSIXCHECK |
| 1454 | # undef ldexp | 1425 | # undef ldexp |
| 1455 | /* Assume ldexp is always declared. */ | 1426 | /* Assume ldexp is always declared. */ |
| 1456 | _GL_WARN_ON_USE (ldexp, "ldexp is unportable - " | 1427 | _GL_WARN_ON_USE_CXX (ldexp, |
| 1457 | "use gnulib module ldexp for portability"); | 1428 | double, double, (double, int), |
| 1429 | "ldexp is unportable - " | ||
| 1430 | "use gnulib module ldexp for portability"); | ||
| 1458 | #endif | 1431 | #endif |
| 1459 | 1432 | ||
| 1460 | /* Return x * 2^exp. */ | 1433 | /* Return x * 2^exp. */ |
| @@ -1463,11 +1436,11 @@ _GL_WARN_ON_USE (ldexp, "ldexp is unportable - " | |||
| 1463 | # undef ldexpl | 1436 | # undef ldexpl |
| 1464 | # define ldexpl rpl_ldexpl | 1437 | # define ldexpl rpl_ldexpl |
| 1465 | # endif | 1438 | # endif |
| 1466 | _GL_FUNCDECL_RPL (ldexpl, long double, (long double x, int exp)); | 1439 | _GL_FUNCDECL_RPL (ldexpl, long double, (long double x, int exp), ); |
| 1467 | _GL_CXXALIAS_RPL (ldexpl, long double, (long double x, int exp)); | 1440 | _GL_CXXALIAS_RPL (ldexpl, long double, (long double x, int exp)); |
| 1468 | #else | 1441 | #else |
| 1469 | # if !@HAVE_DECL_LDEXPL@ | 1442 | # if !@HAVE_DECL_LDEXPL@ |
| 1470 | _GL_FUNCDECL_SYS (ldexpl, long double, (long double x, int exp)); | 1443 | _GL_FUNCDECL_SYS (ldexpl, long double, (long double x, int exp), ); |
| 1471 | # endif | 1444 | # endif |
| 1472 | # if @GNULIB_LDEXPL@ | 1445 | # if @GNULIB_LDEXPL@ |
| 1473 | _GL_CXXALIAS_SYS (ldexpl, long double, (long double x, int exp)); | 1446 | _GL_CXXALIAS_SYS (ldexpl, long double, (long double x, int exp)); |
| @@ -1479,7 +1452,6 @@ _GL_CXXALIASWARN (ldexpl); | |||
| 1479 | # endif | 1452 | # endif |
| 1480 | #endif | 1453 | #endif |
| 1481 | #if !@GNULIB_LDEXPL@ && defined GNULIB_POSIXCHECK | 1454 | #if !@GNULIB_LDEXPL@ && defined GNULIB_POSIXCHECK |
| 1482 | # undef ldexpl | ||
| 1483 | # if HAVE_RAW_DECL_LDEXPL | 1455 | # if HAVE_RAW_DECL_LDEXPL |
| 1484 | _GL_WARN_ON_USE (ldexpl, "ldexpl is unportable - " | 1456 | _GL_WARN_ON_USE (ldexpl, "ldexpl is unportable - " |
| 1485 | "use gnulib module ldexpl for portability"); | 1457 | "use gnulib module ldexpl for portability"); |
| @@ -1493,18 +1465,17 @@ _GL_WARN_ON_USE (ldexpl, "ldexpl is unportable - " | |||
| 1493 | # undef logf | 1465 | # undef logf |
| 1494 | # define logf rpl_logf | 1466 | # define logf rpl_logf |
| 1495 | # endif | 1467 | # endif |
| 1496 | _GL_FUNCDECL_RPL (logf, float, (float x)); | 1468 | _GL_FUNCDECL_RPL (logf, float, (float x), ); |
| 1497 | _GL_CXXALIAS_RPL (logf, float, (float x)); | 1469 | _GL_CXXALIAS_RPL (logf, float, (float x)); |
| 1498 | # else | 1470 | # else |
| 1499 | # if !@HAVE_LOGF@ | 1471 | # if !@HAVE_LOGF@ |
| 1500 | # undef logf | 1472 | # undef logf |
| 1501 | _GL_FUNCDECL_SYS (logf, float, (float x)); | 1473 | _GL_FUNCDECL_SYS (logf, float, (float x), ); |
| 1502 | # endif | 1474 | # endif |
| 1503 | _GL_CXXALIAS_SYS (logf, float, (float x)); | 1475 | _GL_CXXALIAS_SYS (logf, float, (float x)); |
| 1504 | # endif | 1476 | # endif |
| 1505 | _GL_CXXALIASWARN (logf); | 1477 | _GL_CXXALIASWARN (logf); |
| 1506 | #elif defined GNULIB_POSIXCHECK | 1478 | #elif defined GNULIB_POSIXCHECK |
| 1507 | # undef logf | ||
| 1508 | # if HAVE_RAW_DECL_LOGF | 1479 | # if HAVE_RAW_DECL_LOGF |
| 1509 | _GL_WARN_ON_USE (logf, "logf is unportable - " | 1480 | _GL_WARN_ON_USE (logf, "logf is unportable - " |
| 1510 | "use gnulib module logf for portability"); | 1481 | "use gnulib module logf for portability"); |
| @@ -1517,7 +1488,7 @@ _GL_WARN_ON_USE (logf, "logf is unportable - " | |||
| 1517 | # undef log | 1488 | # undef log |
| 1518 | # define log rpl_log | 1489 | # define log rpl_log |
| 1519 | # endif | 1490 | # endif |
| 1520 | _GL_FUNCDECL_RPL (log, double, (double x)); | 1491 | _GL_FUNCDECL_RPL (log, double, (double x), ); |
| 1521 | _GL_CXXALIAS_RPL (log, double, (double x)); | 1492 | _GL_CXXALIAS_RPL (log, double, (double x)); |
| 1522 | # else | 1493 | # else |
| 1523 | _GL_CXXALIAS_SYS (log, double, (double x)); | 1494 | _GL_CXXALIAS_SYS (log, double, (double x)); |
| @@ -1526,7 +1497,6 @@ _GL_CXXALIAS_SYS (log, double, (double x)); | |||
| 1526 | _GL_CXXALIASWARN1 (log, double, (double x)); | 1497 | _GL_CXXALIASWARN1 (log, double, (double x)); |
| 1527 | # endif | 1498 | # endif |
| 1528 | #elif defined GNULIB_POSIXCHECK | 1499 | #elif defined GNULIB_POSIXCHECK |
| 1529 | # undef log | ||
| 1530 | # if HAVE_RAW_DECL_LOG | 1500 | # if HAVE_RAW_DECL_LOG |
| 1531 | _GL_WARN_ON_USE (log, "log has portability problems - " | 1501 | _GL_WARN_ON_USE (log, "log has portability problems - " |
| 1532 | "use gnulib module log for portability"); | 1502 | "use gnulib module log for portability"); |
| @@ -1539,12 +1509,12 @@ _GL_WARN_ON_USE (log, "log has portability problems - " | |||
| 1539 | # undef logl | 1509 | # undef logl |
| 1540 | # define logl rpl_logl | 1510 | # define logl rpl_logl |
| 1541 | # endif | 1511 | # endif |
| 1542 | _GL_FUNCDECL_RPL (logl, long double, (long double x)); | 1512 | _GL_FUNCDECL_RPL (logl, long double, (long double x), ); |
| 1543 | _GL_CXXALIAS_RPL (logl, long double, (long double x)); | 1513 | _GL_CXXALIAS_RPL (logl, long double, (long double x)); |
| 1544 | # else | 1514 | # else |
| 1545 | # if !@HAVE_LOGL@ || !@HAVE_DECL_LOGL@ | 1515 | # if !@HAVE_LOGL@ || !@HAVE_DECL_LOGL@ |
| 1546 | # undef logl | 1516 | # undef logl |
| 1547 | _GL_FUNCDECL_SYS (logl, long double, (long double x)); | 1517 | _GL_FUNCDECL_SYS (logl, long double, (long double x), ); |
| 1548 | # endif | 1518 | # endif |
| 1549 | _GL_CXXALIAS_SYS (logl, long double, (long double x)); | 1519 | _GL_CXXALIAS_SYS (logl, long double, (long double x)); |
| 1550 | # endif | 1520 | # endif |
| @@ -1552,7 +1522,6 @@ _GL_CXXALIAS_SYS (logl, long double, (long double x)); | |||
| 1552 | _GL_CXXALIASWARN (logl); | 1522 | _GL_CXXALIASWARN (logl); |
| 1553 | # endif | 1523 | # endif |
| 1554 | #elif defined GNULIB_POSIXCHECK | 1524 | #elif defined GNULIB_POSIXCHECK |
| 1555 | # undef logl | ||
| 1556 | # if HAVE_RAW_DECL_LOGL | 1525 | # if HAVE_RAW_DECL_LOGL |
| 1557 | _GL_WARN_ON_USE (logl, "logl is unportable - " | 1526 | _GL_WARN_ON_USE (logl, "logl is unportable - " |
| 1558 | "use gnulib module logl for portability"); | 1527 | "use gnulib module logl for portability"); |
| @@ -1566,18 +1535,17 @@ _GL_WARN_ON_USE (logl, "logl is unportable - " | |||
| 1566 | # undef log10f | 1535 | # undef log10f |
| 1567 | # define log10f rpl_log10f | 1536 | # define log10f rpl_log10f |
| 1568 | # endif | 1537 | # endif |
| 1569 | _GL_FUNCDECL_RPL (log10f, float, (float x)); | 1538 | _GL_FUNCDECL_RPL (log10f, float, (float x), ); |
| 1570 | _GL_CXXALIAS_RPL (log10f, float, (float x)); | 1539 | _GL_CXXALIAS_RPL (log10f, float, (float x)); |
| 1571 | # else | 1540 | # else |
| 1572 | # if !@HAVE_LOG10F@ | 1541 | # if !@HAVE_LOG10F@ |
| 1573 | # undef log10f | 1542 | # undef log10f |
| 1574 | _GL_FUNCDECL_SYS (log10f, float, (float x)); | 1543 | _GL_FUNCDECL_SYS (log10f, float, (float x), ); |
| 1575 | # endif | 1544 | # endif |
| 1576 | _GL_CXXALIAS_SYS (log10f, float, (float x)); | 1545 | _GL_CXXALIAS_SYS (log10f, float, (float x)); |
| 1577 | # endif | 1546 | # endif |
| 1578 | _GL_CXXALIASWARN (log10f); | 1547 | _GL_CXXALIASWARN (log10f); |
| 1579 | #elif defined GNULIB_POSIXCHECK | 1548 | #elif defined GNULIB_POSIXCHECK |
| 1580 | # undef log10f | ||
| 1581 | # if HAVE_RAW_DECL_LOG10F | 1549 | # if HAVE_RAW_DECL_LOG10F |
| 1582 | _GL_WARN_ON_USE (log10f, "log10f is unportable - " | 1550 | _GL_WARN_ON_USE (log10f, "log10f is unportable - " |
| 1583 | "use gnulib module log10f for portability"); | 1551 | "use gnulib module log10f for portability"); |
| @@ -1590,7 +1558,7 @@ _GL_WARN_ON_USE (log10f, "log10f is unportable - " | |||
| 1590 | # undef log10 | 1558 | # undef log10 |
| 1591 | # define log10 rpl_log10 | 1559 | # define log10 rpl_log10 |
| 1592 | # endif | 1560 | # endif |
| 1593 | _GL_FUNCDECL_RPL (log10, double, (double x)); | 1561 | _GL_FUNCDECL_RPL (log10, double, (double x), ); |
| 1594 | _GL_CXXALIAS_RPL (log10, double, (double x)); | 1562 | _GL_CXXALIAS_RPL (log10, double, (double x)); |
| 1595 | # else | 1563 | # else |
| 1596 | _GL_CXXALIAS_SYS (log10, double, (double x)); | 1564 | _GL_CXXALIAS_SYS (log10, double, (double x)); |
| @@ -1599,7 +1567,6 @@ _GL_CXXALIAS_SYS (log10, double, (double x)); | |||
| 1599 | _GL_CXXALIASWARN1 (log10, double, (double x)); | 1567 | _GL_CXXALIASWARN1 (log10, double, (double x)); |
| 1600 | # endif | 1568 | # endif |
| 1601 | #elif defined GNULIB_POSIXCHECK | 1569 | #elif defined GNULIB_POSIXCHECK |
| 1602 | # undef log10 | ||
| 1603 | # if HAVE_RAW_DECL_LOG10 | 1570 | # if HAVE_RAW_DECL_LOG10 |
| 1604 | _GL_WARN_ON_USE (log10, "log10 has portability problems - " | 1571 | _GL_WARN_ON_USE (log10, "log10 has portability problems - " |
| 1605 | "use gnulib module log10 for portability"); | 1572 | "use gnulib module log10 for portability"); |
| @@ -1612,12 +1579,12 @@ _GL_WARN_ON_USE (log10, "log10 has portability problems - " | |||
| 1612 | # undef log10l | 1579 | # undef log10l |
| 1613 | # define log10l rpl_log10l | 1580 | # define log10l rpl_log10l |
| 1614 | # endif | 1581 | # endif |
| 1615 | _GL_FUNCDECL_RPL (log10l, long double, (long double x)); | 1582 | _GL_FUNCDECL_RPL (log10l, long double, (long double x), ); |
| 1616 | _GL_CXXALIAS_RPL (log10l, long double, (long double x)); | 1583 | _GL_CXXALIAS_RPL (log10l, long double, (long double x)); |
| 1617 | # else | 1584 | # else |
| 1618 | # if !@HAVE_LOG10L@ || !@HAVE_DECL_LOG10L@ | 1585 | # if !@HAVE_LOG10L@ || !@HAVE_DECL_LOG10L@ |
| 1619 | # undef log10l | 1586 | # undef log10l |
| 1620 | _GL_FUNCDECL_SYS (log10l, long double, (long double x)); | 1587 | _GL_FUNCDECL_SYS (log10l, long double, (long double x), ); |
| 1621 | # endif | 1588 | # endif |
| 1622 | _GL_CXXALIAS_SYS (log10l, long double, (long double x)); | 1589 | _GL_CXXALIAS_SYS (log10l, long double, (long double x)); |
| 1623 | # endif | 1590 | # endif |
| @@ -1625,7 +1592,6 @@ _GL_CXXALIAS_SYS (log10l, long double, (long double x)); | |||
| 1625 | _GL_CXXALIASWARN (log10l); | 1592 | _GL_CXXALIASWARN (log10l); |
| 1626 | # endif | 1593 | # endif |
| 1627 | #elif defined GNULIB_POSIXCHECK | 1594 | #elif defined GNULIB_POSIXCHECK |
| 1628 | # undef log10l | ||
| 1629 | # if HAVE_RAW_DECL_LOG10L | 1595 | # if HAVE_RAW_DECL_LOG10L |
| 1630 | _GL_WARN_ON_USE (log10l, "log10l is unportable - " | 1596 | _GL_WARN_ON_USE (log10l, "log10l is unportable - " |
| 1631 | "use gnulib module log10l for portability"); | 1597 | "use gnulib module log10l for portability"); |
| @@ -1639,17 +1605,16 @@ _GL_WARN_ON_USE (log10l, "log10l is unportable - " | |||
| 1639 | # undef log1pf | 1605 | # undef log1pf |
| 1640 | # define log1pf rpl_log1pf | 1606 | # define log1pf rpl_log1pf |
| 1641 | # endif | 1607 | # endif |
| 1642 | _GL_FUNCDECL_RPL (log1pf, float, (float x)); | 1608 | _GL_FUNCDECL_RPL (log1pf, float, (float x), ); |
| 1643 | _GL_CXXALIAS_RPL (log1pf, float, (float x)); | 1609 | _GL_CXXALIAS_RPL (log1pf, float, (float x)); |
| 1644 | # else | 1610 | # else |
| 1645 | # if !@HAVE_LOG1PF@ | 1611 | # if !@HAVE_LOG1PF@ |
| 1646 | _GL_FUNCDECL_SYS (log1pf, float, (float x)); | 1612 | _GL_FUNCDECL_SYS (log1pf, float, (float x), ); |
| 1647 | # endif | 1613 | # endif |
| 1648 | _GL_CXXALIAS_SYS (log1pf, float, (float x)); | 1614 | _GL_CXXALIAS_SYS (log1pf, float, (float x)); |
| 1649 | # endif | 1615 | # endif |
| 1650 | _GL_CXXALIASWARN (log1pf); | 1616 | _GL_CXXALIASWARN (log1pf); |
| 1651 | #elif defined GNULIB_POSIXCHECK | 1617 | #elif defined GNULIB_POSIXCHECK |
| 1652 | # undef log1pf | ||
| 1653 | # if HAVE_RAW_DECL_LOG1PF | 1618 | # if HAVE_RAW_DECL_LOG1PF |
| 1654 | _GL_WARN_ON_USE (log1pf, "log1pf is unportable - " | 1619 | _GL_WARN_ON_USE (log1pf, "log1pf is unportable - " |
| 1655 | "use gnulib module log1pf for portability"); | 1620 | "use gnulib module log1pf for portability"); |
| @@ -1662,11 +1627,11 @@ _GL_WARN_ON_USE (log1pf, "log1pf is unportable - " | |||
| 1662 | # undef log1p | 1627 | # undef log1p |
| 1663 | # define log1p rpl_log1p | 1628 | # define log1p rpl_log1p |
| 1664 | # endif | 1629 | # endif |
| 1665 | _GL_FUNCDECL_RPL (log1p, double, (double x)); | 1630 | _GL_FUNCDECL_RPL (log1p, double, (double x), ); |
| 1666 | _GL_CXXALIAS_RPL (log1p, double, (double x)); | 1631 | _GL_CXXALIAS_RPL (log1p, double, (double x)); |
| 1667 | # else | 1632 | # else |
| 1668 | # if !@HAVE_LOG1P@ | 1633 | # if !@HAVE_LOG1P@ |
| 1669 | _GL_FUNCDECL_SYS (log1p, double, (double x)); | 1634 | _GL_FUNCDECL_SYS (log1p, double, (double x), ); |
| 1670 | # endif | 1635 | # endif |
| 1671 | _GL_CXXALIAS_SYS (log1p, double, (double x)); | 1636 | _GL_CXXALIAS_SYS (log1p, double, (double x)); |
| 1672 | # endif | 1637 | # endif |
| @@ -1674,7 +1639,6 @@ _GL_CXXALIAS_SYS (log1p, double, (double x)); | |||
| 1674 | _GL_CXXALIASWARN1 (log1p, double, (double x)); | 1639 | _GL_CXXALIASWARN1 (log1p, double, (double x)); |
| 1675 | # endif | 1640 | # endif |
| 1676 | #elif defined GNULIB_POSIXCHECK | 1641 | #elif defined GNULIB_POSIXCHECK |
| 1677 | # undef log1p | ||
| 1678 | # if HAVE_RAW_DECL_LOG1P | 1642 | # if HAVE_RAW_DECL_LOG1P |
| 1679 | _GL_WARN_ON_USE (log1p, "log1p has portability problems - " | 1643 | _GL_WARN_ON_USE (log1p, "log1p has portability problems - " |
| 1680 | "use gnulib module log1p for portability"); | 1644 | "use gnulib module log1p for portability"); |
| @@ -1687,11 +1651,11 @@ _GL_WARN_ON_USE (log1p, "log1p has portability problems - " | |||
| 1687 | # undef log1pl | 1651 | # undef log1pl |
| 1688 | # define log1pl rpl_log1pl | 1652 | # define log1pl rpl_log1pl |
| 1689 | # endif | 1653 | # endif |
| 1690 | _GL_FUNCDECL_RPL (log1pl, long double, (long double x)); | 1654 | _GL_FUNCDECL_RPL (log1pl, long double, (long double x), ); |
| 1691 | _GL_CXXALIAS_RPL (log1pl, long double, (long double x)); | 1655 | _GL_CXXALIAS_RPL (log1pl, long double, (long double x)); |
| 1692 | # else | 1656 | # else |
| 1693 | # if !@HAVE_LOG1PL@ | 1657 | # if !@HAVE_LOG1PL@ |
| 1694 | _GL_FUNCDECL_SYS (log1pl, long double, (long double x)); | 1658 | _GL_FUNCDECL_SYS (log1pl, long double, (long double x), ); |
| 1695 | # endif | 1659 | # endif |
| 1696 | _GL_CXXALIAS_SYS (log1pl, long double, (long double x)); | 1660 | _GL_CXXALIAS_SYS (log1pl, long double, (long double x)); |
| 1697 | # endif | 1661 | # endif |
| @@ -1699,7 +1663,6 @@ _GL_CXXALIAS_SYS (log1pl, long double, (long double x)); | |||
| 1699 | _GL_CXXALIASWARN (log1pl); | 1663 | _GL_CXXALIASWARN (log1pl); |
| 1700 | # endif | 1664 | # endif |
| 1701 | #elif defined GNULIB_POSIXCHECK | 1665 | #elif defined GNULIB_POSIXCHECK |
| 1702 | # undef log1pl | ||
| 1703 | # if HAVE_RAW_DECL_LOG1PL | 1666 | # if HAVE_RAW_DECL_LOG1PL |
| 1704 | _GL_WARN_ON_USE (log1pl, "log1pl has portability problems - " | 1667 | _GL_WARN_ON_USE (log1pl, "log1pl has portability problems - " |
| 1705 | "use gnulib module log1pl for portability"); | 1668 | "use gnulib module log1pl for portability"); |
| @@ -1713,12 +1676,12 @@ _GL_WARN_ON_USE (log1pl, "log1pl has portability problems - " | |||
| 1713 | # undef log2f | 1676 | # undef log2f |
| 1714 | # define log2f rpl_log2f | 1677 | # define log2f rpl_log2f |
| 1715 | # endif | 1678 | # endif |
| 1716 | _GL_FUNCDECL_RPL (log2f, float, (float x)); | 1679 | _GL_FUNCDECL_RPL (log2f, float, (float x), ); |
| 1717 | _GL_CXXALIAS_RPL (log2f, float, (float x)); | 1680 | _GL_CXXALIAS_RPL (log2f, float, (float x)); |
| 1718 | # else | 1681 | # else |
| 1719 | # if !@HAVE_DECL_LOG2F@ | 1682 | # if !@HAVE_LOG2F@ |
| 1720 | # undef log2f | 1683 | # undef log2f |
| 1721 | _GL_FUNCDECL_SYS (log2f, float, (float x)); | 1684 | _GL_FUNCDECL_SYS (log2f, float, (float x), ); |
| 1722 | # endif | 1685 | # endif |
| 1723 | _GL_CXXALIAS_SYS (log2f, float, (float x)); | 1686 | _GL_CXXALIAS_SYS (log2f, float, (float x)); |
| 1724 | # endif | 1687 | # endif |
| @@ -1726,7 +1689,6 @@ _GL_CXXALIAS_SYS (log2f, float, (float x)); | |||
| 1726 | _GL_CXXALIASWARN (log2f); | 1689 | _GL_CXXALIASWARN (log2f); |
| 1727 | # endif | 1690 | # endif |
| 1728 | #elif defined GNULIB_POSIXCHECK | 1691 | #elif defined GNULIB_POSIXCHECK |
| 1729 | # undef log2f | ||
| 1730 | # if HAVE_RAW_DECL_LOG2F | 1692 | # if HAVE_RAW_DECL_LOG2F |
| 1731 | _GL_WARN_ON_USE (log2f, "log2f is unportable - " | 1693 | _GL_WARN_ON_USE (log2f, "log2f is unportable - " |
| 1732 | "use gnulib module log2f for portability"); | 1694 | "use gnulib module log2f for portability"); |
| @@ -1739,12 +1701,12 @@ _GL_WARN_ON_USE (log2f, "log2f is unportable - " | |||
| 1739 | # undef log2 | 1701 | # undef log2 |
| 1740 | # define log2 rpl_log2 | 1702 | # define log2 rpl_log2 |
| 1741 | # endif | 1703 | # endif |
| 1742 | _GL_FUNCDECL_RPL (log2, double, (double x)); | 1704 | _GL_FUNCDECL_RPL (log2, double, (double x), ); |
| 1743 | _GL_CXXALIAS_RPL (log2, double, (double x)); | 1705 | _GL_CXXALIAS_RPL (log2, double, (double x)); |
| 1744 | # else | 1706 | # else |
| 1745 | # if !@HAVE_DECL_LOG2@ | 1707 | # if !@HAVE_LOG2@ |
| 1746 | # undef log2 | 1708 | # undef log2 |
| 1747 | _GL_FUNCDECL_SYS (log2, double, (double x)); | 1709 | _GL_FUNCDECL_SYS (log2, double, (double x), ); |
| 1748 | # endif | 1710 | # endif |
| 1749 | _GL_CXXALIAS_SYS (log2, double, (double x)); | 1711 | _GL_CXXALIAS_SYS (log2, double, (double x)); |
| 1750 | # endif | 1712 | # endif |
| @@ -1752,7 +1714,6 @@ _GL_CXXALIAS_SYS (log2, double, (double x)); | |||
| 1752 | _GL_CXXALIASWARN1 (log2, double, (double x)); | 1714 | _GL_CXXALIASWARN1 (log2, double, (double x)); |
| 1753 | # endif | 1715 | # endif |
| 1754 | #elif defined GNULIB_POSIXCHECK | 1716 | #elif defined GNULIB_POSIXCHECK |
| 1755 | # undef log2 | ||
| 1756 | # if HAVE_RAW_DECL_LOG2 | 1717 | # if HAVE_RAW_DECL_LOG2 |
| 1757 | _GL_WARN_ON_USE (log2, "log2 is unportable - " | 1718 | _GL_WARN_ON_USE (log2, "log2 is unportable - " |
| 1758 | "use gnulib module log2 for portability"); | 1719 | "use gnulib module log2 for portability"); |
| @@ -1765,11 +1726,11 @@ _GL_WARN_ON_USE (log2, "log2 is unportable - " | |||
| 1765 | # undef log2l | 1726 | # undef log2l |
| 1766 | # define log2l rpl_log2l | 1727 | # define log2l rpl_log2l |
| 1767 | # endif | 1728 | # endif |
| 1768 | _GL_FUNCDECL_RPL (log2l, long double, (long double x)); | 1729 | _GL_FUNCDECL_RPL (log2l, long double, (long double x), ); |
| 1769 | _GL_CXXALIAS_RPL (log2l, long double, (long double x)); | 1730 | _GL_CXXALIAS_RPL (log2l, long double, (long double x)); |
| 1770 | # else | 1731 | # else |
| 1771 | # if !@HAVE_DECL_LOG2L@ | 1732 | # if !@HAVE_LOG2L@ |
| 1772 | _GL_FUNCDECL_SYS (log2l, long double, (long double x)); | 1733 | _GL_FUNCDECL_SYS (log2l, long double, (long double x), ); |
| 1773 | # endif | 1734 | # endif |
| 1774 | _GL_CXXALIAS_SYS (log2l, long double, (long double x)); | 1735 | _GL_CXXALIAS_SYS (log2l, long double, (long double x)); |
| 1775 | # endif | 1736 | # endif |
| @@ -1777,7 +1738,6 @@ _GL_CXXALIAS_SYS (log2l, long double, (long double x)); | |||
| 1777 | _GL_CXXALIASWARN (log2l); | 1738 | _GL_CXXALIASWARN (log2l); |
| 1778 | # endif | 1739 | # endif |
| 1779 | #elif defined GNULIB_POSIXCHECK | 1740 | #elif defined GNULIB_POSIXCHECK |
| 1780 | # undef log2l | ||
| 1781 | # if HAVE_RAW_DECL_LOG2L | 1741 | # if HAVE_RAW_DECL_LOG2L |
| 1782 | _GL_WARN_ON_USE (log2l, "log2l is unportable - " | 1742 | _GL_WARN_ON_USE (log2l, "log2l is unportable - " |
| 1783 | "use gnulib module log2l for portability"); | 1743 | "use gnulib module log2l for portability"); |
| @@ -1791,17 +1751,16 @@ _GL_WARN_ON_USE (log2l, "log2l is unportable - " | |||
| 1791 | # undef logbf | 1751 | # undef logbf |
| 1792 | # define logbf rpl_logbf | 1752 | # define logbf rpl_logbf |
| 1793 | # endif | 1753 | # endif |
| 1794 | _GL_FUNCDECL_RPL (logbf, float, (float x)); | 1754 | _GL_FUNCDECL_RPL (logbf, float, (float x), ); |
| 1795 | _GL_CXXALIAS_RPL (logbf, float, (float x)); | 1755 | _GL_CXXALIAS_RPL (logbf, float, (float x)); |
| 1796 | # else | 1756 | # else |
| 1797 | # if !@HAVE_LOGBF@ | 1757 | # if !@HAVE_LOGBF@ |
| 1798 | _GL_FUNCDECL_SYS (logbf, float, (float x)); | 1758 | _GL_FUNCDECL_SYS (logbf, float, (float x), ); |
| 1799 | # endif | 1759 | # endif |
| 1800 | _GL_CXXALIAS_SYS (logbf, float, (float x)); | 1760 | _GL_CXXALIAS_SYS (logbf, float, (float x)); |
| 1801 | # endif | 1761 | # endif |
| 1802 | _GL_CXXALIASWARN (logbf); | 1762 | _GL_CXXALIASWARN (logbf); |
| 1803 | #elif defined GNULIB_POSIXCHECK | 1763 | #elif defined GNULIB_POSIXCHECK |
| 1804 | # undef logbf | ||
| 1805 | # if HAVE_RAW_DECL_LOGBF | 1764 | # if HAVE_RAW_DECL_LOGBF |
| 1806 | _GL_WARN_ON_USE (logbf, "logbf is unportable - " | 1765 | _GL_WARN_ON_USE (logbf, "logbf is unportable - " |
| 1807 | "use gnulib module logbf for portability"); | 1766 | "use gnulib module logbf for portability"); |
| @@ -1814,11 +1773,11 @@ _GL_WARN_ON_USE (logbf, "logbf is unportable - " | |||
| 1814 | # undef logb | 1773 | # undef logb |
| 1815 | # define logb rpl_logb | 1774 | # define logb rpl_logb |
| 1816 | # endif | 1775 | # endif |
| 1817 | _GL_FUNCDECL_RPL (logb, double, (double x)); | 1776 | _GL_FUNCDECL_RPL (logb, double, (double x), ); |
| 1818 | _GL_CXXALIAS_RPL (logb, double, (double x)); | 1777 | _GL_CXXALIAS_RPL (logb, double, (double x)); |
| 1819 | # else | 1778 | # else |
| 1820 | # if !@HAVE_DECL_LOGB@ | 1779 | # if !@HAVE_DECL_LOGB@ |
| 1821 | _GL_FUNCDECL_SYS (logb, double, (double x)); | 1780 | _GL_FUNCDECL_SYS (logb, double, (double x), ); |
| 1822 | # endif | 1781 | # endif |
| 1823 | _GL_CXXALIAS_SYS (logb, double, (double x)); | 1782 | _GL_CXXALIAS_SYS (logb, double, (double x)); |
| 1824 | # endif | 1783 | # endif |
| @@ -1826,7 +1785,6 @@ _GL_CXXALIAS_SYS (logb, double, (double x)); | |||
| 1826 | _GL_CXXALIASWARN1 (logb, double, (double x)); | 1785 | _GL_CXXALIASWARN1 (logb, double, (double x)); |
| 1827 | # endif | 1786 | # endif |
| 1828 | #elif defined GNULIB_POSIXCHECK | 1787 | #elif defined GNULIB_POSIXCHECK |
| 1829 | # undef logb | ||
| 1830 | # if HAVE_RAW_DECL_LOGB | 1788 | # if HAVE_RAW_DECL_LOGB |
| 1831 | _GL_WARN_ON_USE (logb, "logb is unportable - " | 1789 | _GL_WARN_ON_USE (logb, "logb is unportable - " |
| 1832 | "use gnulib module logb for portability"); | 1790 | "use gnulib module logb for portability"); |
| @@ -1839,11 +1797,11 @@ _GL_WARN_ON_USE (logb, "logb is unportable - " | |||
| 1839 | # undef logbl | 1797 | # undef logbl |
| 1840 | # define logbl rpl_logbl | 1798 | # define logbl rpl_logbl |
| 1841 | # endif | 1799 | # endif |
| 1842 | _GL_FUNCDECL_RPL (logbl, long double, (long double x)); | 1800 | _GL_FUNCDECL_RPL (logbl, long double, (long double x), ); |
| 1843 | _GL_CXXALIAS_RPL (logbl, long double, (long double x)); | 1801 | _GL_CXXALIAS_RPL (logbl, long double, (long double x)); |
| 1844 | # else | 1802 | # else |
| 1845 | # if !@HAVE_LOGBL@ | 1803 | # if !@HAVE_LOGBL@ |
| 1846 | _GL_FUNCDECL_SYS (logbl, long double, (long double x)); | 1804 | _GL_FUNCDECL_SYS (logbl, long double, (long double x), ); |
| 1847 | # endif | 1805 | # endif |
| 1848 | _GL_CXXALIAS_SYS (logbl, long double, (long double x)); | 1806 | _GL_CXXALIAS_SYS (logbl, long double, (long double x)); |
| 1849 | # endif | 1807 | # endif |
| @@ -1851,7 +1809,6 @@ _GL_CXXALIAS_SYS (logbl, long double, (long double x)); | |||
| 1851 | _GL_CXXALIASWARN (logbl); | 1809 | _GL_CXXALIASWARN (logbl); |
| 1852 | # endif | 1810 | # endif |
| 1853 | #elif defined GNULIB_POSIXCHECK | 1811 | #elif defined GNULIB_POSIXCHECK |
| 1854 | # undef logbl | ||
| 1855 | # if HAVE_RAW_DECL_LOGBL | 1812 | # if HAVE_RAW_DECL_LOGBL |
| 1856 | _GL_WARN_ON_USE (logbl, "logbl is unportable - " | 1813 | _GL_WARN_ON_USE (logbl, "logbl is unportable - " |
| 1857 | "use gnulib module logbl for portability"); | 1814 | "use gnulib module logbl for portability"); |
| @@ -1859,24 +1816,69 @@ _GL_WARN_ON_USE (logbl, "logbl is unportable - " | |||
| 1859 | #endif | 1816 | #endif |
| 1860 | 1817 | ||
| 1861 | 1818 | ||
| 1819 | #if @GNULIB_LOGP1F@ | ||
| 1820 | # if !@HAVE_LOGP1F@ | ||
| 1821 | _GL_FUNCDECL_SYS (logp1f, float, (float x), ); | ||
| 1822 | # endif | ||
| 1823 | _GL_CXXALIAS_SYS (logp1f, float, (float x)); | ||
| 1824 | # if __GLIBC__ >= 2 | ||
| 1825 | _GL_CXXALIASWARN1 (logp1f, float, (float x)); | ||
| 1826 | # endif | ||
| 1827 | #elif defined GNULIB_POSIXCHECK | ||
| 1828 | # if HAVE_RAW_DECL_LOGP1F | ||
| 1829 | _GL_WARN_ON_USE (logp1f, "logp1f is unportable - " | ||
| 1830 | "use gnulib module logp1f for portability"); | ||
| 1831 | # endif | ||
| 1832 | #endif | ||
| 1833 | |||
| 1834 | #if @GNULIB_LOGP1@ | ||
| 1835 | # if !@HAVE_LOGP1@ | ||
| 1836 | _GL_FUNCDECL_SYS (logp1, double, (double x), ); | ||
| 1837 | # endif | ||
| 1838 | _GL_CXXALIAS_SYS (logp1, double, (double x)); | ||
| 1839 | # if __GLIBC__ >= 2 | ||
| 1840 | _GL_CXXALIASWARN1 (logp1, double, (double x)); | ||
| 1841 | # endif | ||
| 1842 | #elif defined GNULIB_POSIXCHECK | ||
| 1843 | # if HAVE_RAW_DECL_LOGP1 | ||
| 1844 | _GL_WARN_ON_USE (logp1, "logp1 is unportable - " | ||
| 1845 | "use gnulib module logp1 for portability"); | ||
| 1846 | # endif | ||
| 1847 | #endif | ||
| 1848 | |||
| 1849 | #if @GNULIB_LOGP1L@ | ||
| 1850 | # if !@HAVE_LOGP1L@ | ||
| 1851 | _GL_FUNCDECL_SYS (logp1l, long double, (long double x), ); | ||
| 1852 | # endif | ||
| 1853 | _GL_CXXALIAS_SYS (logp1l, long double, (long double x)); | ||
| 1854 | # if __GLIBC__ >= 2 | ||
| 1855 | _GL_CXXALIASWARN1 (logp1l, long double, (long double x)); | ||
| 1856 | # endif | ||
| 1857 | #elif defined GNULIB_POSIXCHECK | ||
| 1858 | # if HAVE_RAW_DECL_LOGP1L | ||
| 1859 | _GL_WARN_ON_USE (logp1l, "logp1l is unportable - " | ||
| 1860 | "use gnulib module logp1l for portability"); | ||
| 1861 | # endif | ||
| 1862 | #endif | ||
| 1863 | |||
| 1864 | |||
| 1862 | #if @GNULIB_MODFF@ | 1865 | #if @GNULIB_MODFF@ |
| 1863 | # if @REPLACE_MODFF@ | 1866 | # if @REPLACE_MODFF@ |
| 1864 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | 1867 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) |
| 1865 | # undef modff | 1868 | # undef modff |
| 1866 | # define modff rpl_modff | 1869 | # define modff rpl_modff |
| 1867 | # endif | 1870 | # endif |
| 1868 | _GL_FUNCDECL_RPL (modff, float, (float x, float *iptr) _GL_ARG_NONNULL ((2))); | 1871 | _GL_FUNCDECL_RPL (modff, float, (float x, float *iptr), _GL_ARG_NONNULL ((2))); |
| 1869 | _GL_CXXALIAS_RPL (modff, float, (float x, float *iptr)); | 1872 | _GL_CXXALIAS_RPL (modff, float, (float x, float *iptr)); |
| 1870 | # else | 1873 | # else |
| 1871 | # if !@HAVE_MODFF@ | 1874 | # if !@HAVE_MODFF@ |
| 1872 | # undef modff | 1875 | # undef modff |
| 1873 | _GL_FUNCDECL_SYS (modff, float, (float x, float *iptr) _GL_ARG_NONNULL ((2))); | 1876 | _GL_FUNCDECL_SYS (modff, float, (float x, float *iptr), _GL_ARG_NONNULL ((2))); |
| 1874 | # endif | 1877 | # endif |
| 1875 | _GL_CXXALIAS_SYS (modff, float, (float x, float *iptr)); | 1878 | _GL_CXXALIAS_SYS (modff, float, (float x, float *iptr)); |
| 1876 | # endif | 1879 | # endif |
| 1877 | _GL_CXXALIASWARN (modff); | 1880 | _GL_CXXALIASWARN (modff); |
| 1878 | #elif defined GNULIB_POSIXCHECK | 1881 | #elif defined GNULIB_POSIXCHECK |
| 1879 | # undef modff | ||
| 1880 | # if HAVE_RAW_DECL_MODFF | 1882 | # if HAVE_RAW_DECL_MODFF |
| 1881 | _GL_WARN_ON_USE (modff, "modff is unportable - " | 1883 | _GL_WARN_ON_USE (modff, "modff is unportable - " |
| 1882 | "use gnulib module modff for portability"); | 1884 | "use gnulib module modff for portability"); |
| @@ -1889,7 +1891,8 @@ _GL_WARN_ON_USE (modff, "modff is unportable - " | |||
| 1889 | # undef modf | 1891 | # undef modf |
| 1890 | # define modf rpl_modf | 1892 | # define modf rpl_modf |
| 1891 | # endif | 1893 | # endif |
| 1892 | _GL_FUNCDECL_RPL (modf, double, (double x, double *iptr) _GL_ARG_NONNULL ((2))); | 1894 | _GL_FUNCDECL_RPL (modf, double, (double x, double *iptr), |
| 1895 | _GL_ARG_NONNULL ((2))); | ||
| 1893 | _GL_CXXALIAS_RPL (modf, double, (double x, double *iptr)); | 1896 | _GL_CXXALIAS_RPL (modf, double, (double x, double *iptr)); |
| 1894 | # else | 1897 | # else |
| 1895 | _GL_CXXALIAS_SYS (modf, double, (double x, double *iptr)); | 1898 | _GL_CXXALIAS_SYS (modf, double, (double x, double *iptr)); |
| @@ -1898,7 +1901,6 @@ _GL_CXXALIAS_SYS (modf, double, (double x, double *iptr)); | |||
| 1898 | _GL_CXXALIASWARN1 (modf, double, (double x, double *iptr)); | 1901 | _GL_CXXALIASWARN1 (modf, double, (double x, double *iptr)); |
| 1899 | # endif | 1902 | # endif |
| 1900 | #elif defined GNULIB_POSIXCHECK | 1903 | #elif defined GNULIB_POSIXCHECK |
| 1901 | # undef modf | ||
| 1902 | # if HAVE_RAW_DECL_MODF | 1904 | # if HAVE_RAW_DECL_MODF |
| 1903 | _GL_WARN_ON_USE (modf, "modf has portability problems - " | 1905 | _GL_WARN_ON_USE (modf, "modf has portability problems - " |
| 1904 | "use gnulib module modf for portability"); | 1906 | "use gnulib module modf for portability"); |
| @@ -1911,13 +1913,13 @@ _GL_WARN_ON_USE (modf, "modf has portability problems - " | |||
| 1911 | # undef modfl | 1913 | # undef modfl |
| 1912 | # define modfl rpl_modfl | 1914 | # define modfl rpl_modfl |
| 1913 | # endif | 1915 | # endif |
| 1914 | _GL_FUNCDECL_RPL (modfl, long double, (long double x, long double *iptr) | 1916 | _GL_FUNCDECL_RPL (modfl, long double, (long double x, long double *iptr), |
| 1915 | _GL_ARG_NONNULL ((2))); | 1917 | _GL_ARG_NONNULL ((2))); |
| 1916 | _GL_CXXALIAS_RPL (modfl, long double, (long double x, long double *iptr)); | 1918 | _GL_CXXALIAS_RPL (modfl, long double, (long double x, long double *iptr)); |
| 1917 | # else | 1919 | # else |
| 1918 | # if !@HAVE_MODFL@ | 1920 | # if !@HAVE_MODFL@ |
| 1919 | # undef modfl | 1921 | # undef modfl |
| 1920 | _GL_FUNCDECL_SYS (modfl, long double, (long double x, long double *iptr) | 1922 | _GL_FUNCDECL_SYS (modfl, long double, (long double x, long double *iptr), |
| 1921 | _GL_ARG_NONNULL ((2))); | 1923 | _GL_ARG_NONNULL ((2))); |
| 1922 | # endif | 1924 | # endif |
| 1923 | _GL_CXXALIAS_SYS (modfl, long double, (long double x, long double *iptr)); | 1925 | _GL_CXXALIAS_SYS (modfl, long double, (long double x, long double *iptr)); |
| @@ -1926,7 +1928,6 @@ _GL_CXXALIAS_SYS (modfl, long double, (long double x, long double *iptr)); | |||
| 1926 | _GL_CXXALIASWARN (modfl); | 1928 | _GL_CXXALIASWARN (modfl); |
| 1927 | # endif | 1929 | # endif |
| 1928 | #elif defined GNULIB_POSIXCHECK | 1930 | #elif defined GNULIB_POSIXCHECK |
| 1929 | # undef modfl | ||
| 1930 | # if HAVE_RAW_DECL_MODFL | 1931 | # if HAVE_RAW_DECL_MODFL |
| 1931 | _GL_WARN_ON_USE (modfl, "modfl is unportable - " | 1932 | _GL_WARN_ON_USE (modfl, "modfl is unportable - " |
| 1932 | "use gnulib module modfl for portability"); | 1933 | "use gnulib module modfl for portability"); |
| @@ -1937,12 +1938,11 @@ _GL_WARN_ON_USE (modfl, "modfl is unportable - " | |||
| 1937 | #if @GNULIB_POWF@ | 1938 | #if @GNULIB_POWF@ |
| 1938 | # if !@HAVE_POWF@ | 1939 | # if !@HAVE_POWF@ |
| 1939 | # undef powf | 1940 | # undef powf |
| 1940 | _GL_FUNCDECL_SYS (powf, float, (float x, float y)); | 1941 | _GL_FUNCDECL_SYS (powf, float, (float x, float y), ); |
| 1941 | # endif | 1942 | # endif |
| 1942 | _GL_CXXALIAS_SYS (powf, float, (float x, float y)); | 1943 | _GL_CXXALIAS_SYS (powf, float, (float x, float y)); |
| 1943 | _GL_CXXALIASWARN (powf); | 1944 | _GL_CXXALIASWARN (powf); |
| 1944 | #elif defined GNULIB_POSIXCHECK | 1945 | #elif defined GNULIB_POSIXCHECK |
| 1945 | # undef powf | ||
| 1946 | # if HAVE_RAW_DECL_POWF | 1946 | # if HAVE_RAW_DECL_POWF |
| 1947 | _GL_WARN_ON_USE (powf, "powf is unportable - " | 1947 | _GL_WARN_ON_USE (powf, "powf is unportable - " |
| 1948 | "use gnulib module powf for portability"); | 1948 | "use gnulib module powf for portability"); |
| @@ -1956,17 +1956,16 @@ _GL_WARN_ON_USE (powf, "powf is unportable - " | |||
| 1956 | # undef remainderf | 1956 | # undef remainderf |
| 1957 | # define remainderf rpl_remainderf | 1957 | # define remainderf rpl_remainderf |
| 1958 | # endif | 1958 | # endif |
| 1959 | _GL_FUNCDECL_RPL (remainderf, float, (float x, float y)); | 1959 | _GL_FUNCDECL_RPL (remainderf, float, (float x, float y), ); |
| 1960 | _GL_CXXALIAS_RPL (remainderf, float, (float x, float y)); | 1960 | _GL_CXXALIAS_RPL (remainderf, float, (float x, float y)); |
| 1961 | # else | 1961 | # else |
| 1962 | # if !@HAVE_REMAINDERF@ | 1962 | # if !@HAVE_REMAINDERF@ |
| 1963 | _GL_FUNCDECL_SYS (remainderf, float, (float x, float y)); | 1963 | _GL_FUNCDECL_SYS (remainderf, float, (float x, float y), ); |
| 1964 | # endif | 1964 | # endif |
| 1965 | _GL_CXXALIAS_SYS (remainderf, float, (float x, float y)); | 1965 | _GL_CXXALIAS_SYS (remainderf, float, (float x, float y)); |
| 1966 | # endif | 1966 | # endif |
| 1967 | _GL_CXXALIASWARN (remainderf); | 1967 | _GL_CXXALIASWARN (remainderf); |
| 1968 | #elif defined GNULIB_POSIXCHECK | 1968 | #elif defined GNULIB_POSIXCHECK |
| 1969 | # undef remainderf | ||
| 1970 | # if HAVE_RAW_DECL_REMAINDERF | 1969 | # if HAVE_RAW_DECL_REMAINDERF |
| 1971 | _GL_WARN_ON_USE (remainderf, "remainderf is unportable - " | 1970 | _GL_WARN_ON_USE (remainderf, "remainderf is unportable - " |
| 1972 | "use gnulib module remainderf for portability"); | 1971 | "use gnulib module remainderf for portability"); |
| @@ -1979,11 +1978,11 @@ _GL_WARN_ON_USE (remainderf, "remainderf is unportable - " | |||
| 1979 | # undef remainder | 1978 | # undef remainder |
| 1980 | # define remainder rpl_remainder | 1979 | # define remainder rpl_remainder |
| 1981 | # endif | 1980 | # endif |
| 1982 | _GL_FUNCDECL_RPL (remainder, double, (double x, double y)); | 1981 | _GL_FUNCDECL_RPL (remainder, double, (double x, double y), ); |
| 1983 | _GL_CXXALIAS_RPL (remainder, double, (double x, double y)); | 1982 | _GL_CXXALIAS_RPL (remainder, double, (double x, double y)); |
| 1984 | # else | 1983 | # else |
| 1985 | # if !@HAVE_REMAINDER@ || !@HAVE_DECL_REMAINDER@ | 1984 | # if !@HAVE_REMAINDER@ |
| 1986 | _GL_FUNCDECL_SYS (remainder, double, (double x, double y)); | 1985 | _GL_FUNCDECL_SYS (remainder, double, (double x, double y), ); |
| 1987 | # endif | 1986 | # endif |
| 1988 | _GL_CXXALIAS_SYS (remainder, double, (double x, double y)); | 1987 | _GL_CXXALIAS_SYS (remainder, double, (double x, double y)); |
| 1989 | # endif | 1988 | # endif |
| @@ -1991,7 +1990,6 @@ _GL_CXXALIAS_SYS (remainder, double, (double x, double y)); | |||
| 1991 | _GL_CXXALIASWARN1 (remainder, double, (double x, double y)); | 1990 | _GL_CXXALIASWARN1 (remainder, double, (double x, double y)); |
| 1992 | # endif | 1991 | # endif |
| 1993 | #elif defined GNULIB_POSIXCHECK | 1992 | #elif defined GNULIB_POSIXCHECK |
| 1994 | # undef remainder | ||
| 1995 | # if HAVE_RAW_DECL_REMAINDER | 1993 | # if HAVE_RAW_DECL_REMAINDER |
| 1996 | _GL_WARN_ON_USE (remainder, "remainder is unportable - " | 1994 | _GL_WARN_ON_USE (remainder, "remainder is unportable - " |
| 1997 | "use gnulib module remainder for portability"); | 1995 | "use gnulib module remainder for portability"); |
| @@ -2004,13 +2002,13 @@ _GL_WARN_ON_USE (remainder, "remainder is unportable - " | |||
| 2004 | # undef remainderl | 2002 | # undef remainderl |
| 2005 | # define remainderl rpl_remainderl | 2003 | # define remainderl rpl_remainderl |
| 2006 | # endif | 2004 | # endif |
| 2007 | _GL_FUNCDECL_RPL (remainderl, long double, (long double x, long double y)); | 2005 | _GL_FUNCDECL_RPL (remainderl, long double, (long double x, long double y), ); |
| 2008 | _GL_CXXALIAS_RPL (remainderl, long double, (long double x, long double y)); | 2006 | _GL_CXXALIAS_RPL (remainderl, long double, (long double x, long double y)); |
| 2009 | # else | 2007 | # else |
| 2010 | # if !@HAVE_DECL_REMAINDERL@ | 2008 | # if !@HAVE_REMAINDERL@ |
| 2011 | # undef remainderl | 2009 | # undef remainderl |
| 2012 | # if !(defined __cplusplus && defined _AIX) | 2010 | # if !(defined __cplusplus && defined _AIX) |
| 2013 | _GL_FUNCDECL_SYS (remainderl, long double, (long double x, long double y)); | 2011 | _GL_FUNCDECL_SYS (remainderl, long double, (long double x, long double y), ); |
| 2014 | # endif | 2012 | # endif |
| 2015 | # endif | 2013 | # endif |
| 2016 | _GL_CXXALIAS_SYS (remainderl, long double, (long double x, long double y)); | 2014 | _GL_CXXALIAS_SYS (remainderl, long double, (long double x, long double y)); |
| @@ -2019,7 +2017,6 @@ _GL_CXXALIAS_SYS (remainderl, long double, (long double x, long double y)); | |||
| 2019 | _GL_CXXALIASWARN (remainderl); | 2017 | _GL_CXXALIASWARN (remainderl); |
| 2020 | # endif | 2018 | # endif |
| 2021 | #elif defined GNULIB_POSIXCHECK | 2019 | #elif defined GNULIB_POSIXCHECK |
| 2022 | # undef remainderl | ||
| 2023 | # if HAVE_RAW_DECL_REMAINDERL | 2020 | # if HAVE_RAW_DECL_REMAINDERL |
| 2024 | _GL_WARN_ON_USE (remainderl, "remainderl is unportable - " | 2021 | _GL_WARN_ON_USE (remainderl, "remainderl is unportable - " |
| 2025 | "use gnulib module remainderl for portability"); | 2022 | "use gnulib module remainderl for portability"); |
| @@ -2028,13 +2025,12 @@ _GL_WARN_ON_USE (remainderl, "remainderl is unportable - " | |||
| 2028 | 2025 | ||
| 2029 | 2026 | ||
| 2030 | #if @GNULIB_RINTF@ | 2027 | #if @GNULIB_RINTF@ |
| 2031 | # if !@HAVE_DECL_RINTF@ | 2028 | # if !@HAVE_RINTF@ |
| 2032 | _GL_FUNCDECL_SYS (rintf, float, (float x)); | 2029 | _GL_FUNCDECL_SYS (rintf, float, (float x), ); |
| 2033 | # endif | 2030 | # endif |
| 2034 | _GL_CXXALIAS_SYS (rintf, float, (float x)); | 2031 | _GL_CXXALIAS_SYS (rintf, float, (float x)); |
| 2035 | _GL_CXXALIASWARN (rintf); | 2032 | _GL_CXXALIASWARN (rintf); |
| 2036 | #elif defined GNULIB_POSIXCHECK | 2033 | #elif defined GNULIB_POSIXCHECK |
| 2037 | # undef rintf | ||
| 2038 | # if HAVE_RAW_DECL_RINTF | 2034 | # if HAVE_RAW_DECL_RINTF |
| 2039 | _GL_WARN_ON_USE (rintf, "rintf is unportable - " | 2035 | _GL_WARN_ON_USE (rintf, "rintf is unportable - " |
| 2040 | "use gnulib module rintf for portability"); | 2036 | "use gnulib module rintf for portability"); |
| @@ -2043,14 +2039,13 @@ _GL_WARN_ON_USE (rintf, "rintf is unportable - " | |||
| 2043 | 2039 | ||
| 2044 | #if @GNULIB_RINT@ | 2040 | #if @GNULIB_RINT@ |
| 2045 | # if !@HAVE_RINT@ | 2041 | # if !@HAVE_RINT@ |
| 2046 | _GL_FUNCDECL_SYS (rint, double, (double x)); | 2042 | _GL_FUNCDECL_SYS (rint, double, (double x), ); |
| 2047 | # endif | 2043 | # endif |
| 2048 | _GL_CXXALIAS_SYS (rint, double, (double x)); | 2044 | _GL_CXXALIAS_SYS (rint, double, (double x)); |
| 2049 | # if __GLIBC__ >= 2 | 2045 | # if __GLIBC__ >= 2 |
| 2050 | _GL_CXXALIASWARN1 (rint, double, (double x)); | 2046 | _GL_CXXALIASWARN1 (rint, double, (double x)); |
| 2051 | # endif | 2047 | # endif |
| 2052 | #elif defined GNULIB_POSIXCHECK | 2048 | #elif defined GNULIB_POSIXCHECK |
| 2053 | # undef rint | ||
| 2054 | # if HAVE_RAW_DECL_RINT | 2049 | # if HAVE_RAW_DECL_RINT |
| 2055 | _GL_WARN_ON_USE (rint, "rint is unportable - " | 2050 | _GL_WARN_ON_USE (rint, "rint is unportable - " |
| 2056 | "use gnulib module rint for portability"); | 2051 | "use gnulib module rint for portability"); |
| @@ -2063,11 +2058,11 @@ _GL_WARN_ON_USE (rint, "rint is unportable - " | |||
| 2063 | # undef rintl | 2058 | # undef rintl |
| 2064 | # define rintl rpl_rintl | 2059 | # define rintl rpl_rintl |
| 2065 | # endif | 2060 | # endif |
| 2066 | _GL_FUNCDECL_RPL (rintl, long double, (long double x)); | 2061 | _GL_FUNCDECL_RPL (rintl, long double, (long double x), ); |
| 2067 | _GL_CXXALIAS_RPL (rintl, long double, (long double x)); | 2062 | _GL_CXXALIAS_RPL (rintl, long double, (long double x)); |
| 2068 | # else | 2063 | # else |
| 2069 | # if !@HAVE_RINTL@ | 2064 | # if !@HAVE_RINTL@ |
| 2070 | _GL_FUNCDECL_SYS (rintl, long double, (long double x)); | 2065 | _GL_FUNCDECL_SYS (rintl, long double, (long double x), ); |
| 2071 | # endif | 2066 | # endif |
| 2072 | _GL_CXXALIAS_SYS (rintl, long double, (long double x)); | 2067 | _GL_CXXALIAS_SYS (rintl, long double, (long double x)); |
| 2073 | # endif | 2068 | # endif |
| @@ -2075,7 +2070,6 @@ _GL_CXXALIAS_SYS (rintl, long double, (long double x)); | |||
| 2075 | _GL_CXXALIASWARN (rintl); | 2070 | _GL_CXXALIASWARN (rintl); |
| 2076 | # endif | 2071 | # endif |
| 2077 | #elif defined GNULIB_POSIXCHECK | 2072 | #elif defined GNULIB_POSIXCHECK |
| 2078 | # undef rintl | ||
| 2079 | # if HAVE_RAW_DECL_RINTL | 2073 | # if HAVE_RAW_DECL_RINTL |
| 2080 | _GL_WARN_ON_USE (rintl, "rintl is unportable - " | 2074 | _GL_WARN_ON_USE (rintl, "rintl is unportable - " |
| 2081 | "use gnulib module rintl for portability"); | 2075 | "use gnulib module rintl for portability"); |
| @@ -2089,17 +2083,16 @@ _GL_WARN_ON_USE (rintl, "rintl is unportable - " | |||
| 2089 | # undef roundf | 2083 | # undef roundf |
| 2090 | # define roundf rpl_roundf | 2084 | # define roundf rpl_roundf |
| 2091 | # endif | 2085 | # endif |
| 2092 | _GL_FUNCDECL_RPL (roundf, float, (float x)); | 2086 | _GL_FUNCDECL_RPL (roundf, float, (float x), ); |
| 2093 | _GL_CXXALIAS_RPL (roundf, float, (float x)); | 2087 | _GL_CXXALIAS_RPL (roundf, float, (float x)); |
| 2094 | # else | 2088 | # else |
| 2095 | # if !@HAVE_DECL_ROUNDF@ | 2089 | # if !@HAVE_ROUNDF@ |
| 2096 | _GL_FUNCDECL_SYS (roundf, float, (float x)); | 2090 | _GL_FUNCDECL_SYS (roundf, float, (float x), ); |
| 2097 | # endif | 2091 | # endif |
| 2098 | _GL_CXXALIAS_SYS (roundf, float, (float x)); | 2092 | _GL_CXXALIAS_SYS (roundf, float, (float x)); |
| 2099 | # endif | 2093 | # endif |
| 2100 | _GL_CXXALIASWARN (roundf); | 2094 | _GL_CXXALIASWARN (roundf); |
| 2101 | #elif defined GNULIB_POSIXCHECK | 2095 | #elif defined GNULIB_POSIXCHECK |
| 2102 | # undef roundf | ||
| 2103 | # if HAVE_RAW_DECL_ROUNDF | 2096 | # if HAVE_RAW_DECL_ROUNDF |
| 2104 | _GL_WARN_ON_USE (roundf, "roundf is unportable - " | 2097 | _GL_WARN_ON_USE (roundf, "roundf is unportable - " |
| 2105 | "use gnulib module roundf for portability"); | 2098 | "use gnulib module roundf for portability"); |
| @@ -2112,11 +2105,11 @@ _GL_WARN_ON_USE (roundf, "roundf is unportable - " | |||
| 2112 | # undef round | 2105 | # undef round |
| 2113 | # define round rpl_round | 2106 | # define round rpl_round |
| 2114 | # endif | 2107 | # endif |
| 2115 | _GL_FUNCDECL_RPL (round, double, (double x)); | 2108 | _GL_FUNCDECL_RPL (round, double, (double x), ); |
| 2116 | _GL_CXXALIAS_RPL (round, double, (double x)); | 2109 | _GL_CXXALIAS_RPL (round, double, (double x)); |
| 2117 | # else | 2110 | # else |
| 2118 | # if !@HAVE_DECL_ROUND@ | 2111 | # if !@HAVE_ROUND@ |
| 2119 | _GL_FUNCDECL_SYS (round, double, (double x)); | 2112 | _GL_FUNCDECL_SYS (round, double, (double x), ); |
| 2120 | # endif | 2113 | # endif |
| 2121 | _GL_CXXALIAS_SYS (round, double, (double x)); | 2114 | _GL_CXXALIAS_SYS (round, double, (double x)); |
| 2122 | # endif | 2115 | # endif |
| @@ -2124,7 +2117,6 @@ _GL_CXXALIAS_SYS (round, double, (double x)); | |||
| 2124 | _GL_CXXALIASWARN1 (round, double, (double x)); | 2117 | _GL_CXXALIASWARN1 (round, double, (double x)); |
| 2125 | # endif | 2118 | # endif |
| 2126 | #elif defined GNULIB_POSIXCHECK | 2119 | #elif defined GNULIB_POSIXCHECK |
| 2127 | # undef round | ||
| 2128 | # if HAVE_RAW_DECL_ROUND | 2120 | # if HAVE_RAW_DECL_ROUND |
| 2129 | _GL_WARN_ON_USE (round, "round is unportable - " | 2121 | _GL_WARN_ON_USE (round, "round is unportable - " |
| 2130 | "use gnulib module round for portability"); | 2122 | "use gnulib module round for portability"); |
| @@ -2137,13 +2129,13 @@ _GL_WARN_ON_USE (round, "round is unportable - " | |||
| 2137 | # undef roundl | 2129 | # undef roundl |
| 2138 | # define roundl rpl_roundl | 2130 | # define roundl rpl_roundl |
| 2139 | # endif | 2131 | # endif |
| 2140 | _GL_FUNCDECL_RPL (roundl, long double, (long double x)); | 2132 | _GL_FUNCDECL_RPL (roundl, long double, (long double x), ); |
| 2141 | _GL_CXXALIAS_RPL (roundl, long double, (long double x)); | 2133 | _GL_CXXALIAS_RPL (roundl, long double, (long double x)); |
| 2142 | # else | 2134 | # else |
| 2143 | # if !@HAVE_DECL_ROUNDL@ | 2135 | # if !@HAVE_ROUNDL@ |
| 2144 | # undef roundl | 2136 | # undef roundl |
| 2145 | # if !(defined __cplusplus && defined _AIX) | 2137 | # if !(defined __cplusplus && defined _AIX) |
| 2146 | _GL_FUNCDECL_SYS (roundl, long double, (long double x)); | 2138 | _GL_FUNCDECL_SYS (roundl, long double, (long double x), ); |
| 2147 | # endif | 2139 | # endif |
| 2148 | # endif | 2140 | # endif |
| 2149 | _GL_CXXALIAS_SYS (roundl, long double, (long double x)); | 2141 | _GL_CXXALIAS_SYS (roundl, long double, (long double x)); |
| @@ -2152,7 +2144,6 @@ _GL_CXXALIAS_SYS (roundl, long double, (long double x)); | |||
| 2152 | _GL_CXXALIASWARN (roundl); | 2144 | _GL_CXXALIASWARN (roundl); |
| 2153 | # endif | 2145 | # endif |
| 2154 | #elif defined GNULIB_POSIXCHECK | 2146 | #elif defined GNULIB_POSIXCHECK |
| 2155 | # undef roundl | ||
| 2156 | # if HAVE_RAW_DECL_ROUNDL | 2147 | # if HAVE_RAW_DECL_ROUNDL |
| 2157 | _GL_WARN_ON_USE (roundl, "roundl is unportable - " | 2148 | _GL_WARN_ON_USE (roundl, "roundl is unportable - " |
| 2158 | "use gnulib module roundl for portability"); | 2149 | "use gnulib module roundl for portability"); |
| @@ -2166,18 +2157,17 @@ _GL_WARN_ON_USE (roundl, "roundl is unportable - " | |||
| 2166 | # undef sinf | 2157 | # undef sinf |
| 2167 | # define sinf rpl_sinf | 2158 | # define sinf rpl_sinf |
| 2168 | # endif | 2159 | # endif |
| 2169 | _GL_FUNCDECL_RPL (sinf, float, (float x)); | 2160 | _GL_FUNCDECL_RPL (sinf, float, (float x), ); |
| 2170 | _GL_CXXALIAS_RPL (sinf, float, (float x)); | 2161 | _GL_CXXALIAS_RPL (sinf, float, (float x)); |
| 2171 | # else | 2162 | # else |
| 2172 | # if !@HAVE_SINF@ | 2163 | # if !@HAVE_SINF@ |
| 2173 | # undef sinf | 2164 | # undef sinf |
| 2174 | _GL_FUNCDECL_SYS (sinf, float, (float x)); | 2165 | _GL_FUNCDECL_SYS (sinf, float, (float x), ); |
| 2175 | # endif | 2166 | # endif |
| 2176 | _GL_CXXALIAS_SYS (sinf, float, (float x)); | 2167 | _GL_CXXALIAS_SYS (sinf, float, (float x)); |
| 2177 | # endif | 2168 | # endif |
| 2178 | _GL_CXXALIASWARN (sinf); | 2169 | _GL_CXXALIASWARN (sinf); |
| 2179 | #elif defined GNULIB_POSIXCHECK | 2170 | #elif defined GNULIB_POSIXCHECK |
| 2180 | # undef sinf | ||
| 2181 | # if HAVE_RAW_DECL_SINF | 2171 | # if HAVE_RAW_DECL_SINF |
| 2182 | _GL_WARN_ON_USE (sinf, "sinf is unportable - " | 2172 | _GL_WARN_ON_USE (sinf, "sinf is unportable - " |
| 2183 | "use gnulib module sinf for portability"); | 2173 | "use gnulib module sinf for portability"); |
| @@ -2185,16 +2175,24 @@ _GL_WARN_ON_USE (sinf, "sinf is unportable - " | |||
| 2185 | #endif | 2175 | #endif |
| 2186 | 2176 | ||
| 2187 | #if @GNULIB_SINL@ | 2177 | #if @GNULIB_SINL@ |
| 2188 | # if !@HAVE_SINL@ || !@HAVE_DECL_SINL@ | 2178 | # if @REPLACE_SINL@ |
| 2189 | # undef sinl | 2179 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) |
| 2190 | _GL_FUNCDECL_SYS (sinl, long double, (long double x)); | 2180 | # undef sinl |
| 2191 | # endif | 2181 | # define sinl rpl_sinl |
| 2182 | # endif | ||
| 2183 | _GL_FUNCDECL_RPL (sinl, long double, (long double x), ); | ||
| 2184 | _GL_CXXALIAS_RPL (sinl, long double, (long double x)); | ||
| 2185 | # else | ||
| 2186 | # if !@HAVE_SINL@ || !@HAVE_DECL_SINL@ | ||
| 2187 | # undef sinl | ||
| 2188 | _GL_FUNCDECL_SYS (sinl, long double, (long double x), ); | ||
| 2189 | # endif | ||
| 2192 | _GL_CXXALIAS_SYS (sinl, long double, (long double x)); | 2190 | _GL_CXXALIAS_SYS (sinl, long double, (long double x)); |
| 2191 | # endif | ||
| 2193 | # if __GLIBC__ >= 2 | 2192 | # if __GLIBC__ >= 2 |
| 2194 | _GL_CXXALIASWARN (sinl); | 2193 | _GL_CXXALIASWARN (sinl); |
| 2195 | # endif | 2194 | # endif |
| 2196 | #elif defined GNULIB_POSIXCHECK | 2195 | #elif defined GNULIB_POSIXCHECK |
| 2197 | # undef sinl | ||
| 2198 | # if HAVE_RAW_DECL_SINL | 2196 | # if HAVE_RAW_DECL_SINL |
| 2199 | _GL_WARN_ON_USE (sinl, "sinl is unportable - " | 2197 | _GL_WARN_ON_USE (sinl, "sinl is unportable - " |
| 2200 | "use gnulib module sinl for portability"); | 2198 | "use gnulib module sinl for portability"); |
| @@ -2208,18 +2206,17 @@ _GL_WARN_ON_USE (sinl, "sinl is unportable - " | |||
| 2208 | # undef sinhf | 2206 | # undef sinhf |
| 2209 | # define sinhf rpl_sinhf | 2207 | # define sinhf rpl_sinhf |
| 2210 | # endif | 2208 | # endif |
| 2211 | _GL_FUNCDECL_RPL (sinhf, float, (float x)); | 2209 | _GL_FUNCDECL_RPL (sinhf, float, (float x), ); |
| 2212 | _GL_CXXALIAS_RPL (sinhf, float, (float x)); | 2210 | _GL_CXXALIAS_RPL (sinhf, float, (float x)); |
| 2213 | # else | 2211 | # else |
| 2214 | # if !@HAVE_SINHF@ | 2212 | # if !@HAVE_SINHF@ |
| 2215 | # undef sinhf | 2213 | # undef sinhf |
| 2216 | _GL_FUNCDECL_SYS (sinhf, float, (float x)); | 2214 | _GL_FUNCDECL_SYS (sinhf, float, (float x), ); |
| 2217 | # endif | 2215 | # endif |
| 2218 | _GL_CXXALIAS_SYS (sinhf, float, (float x)); | 2216 | _GL_CXXALIAS_SYS (sinhf, float, (float x)); |
| 2219 | # endif | 2217 | # endif |
| 2220 | _GL_CXXALIASWARN (sinhf); | 2218 | _GL_CXXALIASWARN (sinhf); |
| 2221 | #elif defined GNULIB_POSIXCHECK | 2219 | #elif defined GNULIB_POSIXCHECK |
| 2222 | # undef sinhf | ||
| 2223 | # if HAVE_RAW_DECL_SINHF | 2220 | # if HAVE_RAW_DECL_SINHF |
| 2224 | _GL_WARN_ON_USE (sinhf, "sinhf is unportable - " | 2221 | _GL_WARN_ON_USE (sinhf, "sinhf is unportable - " |
| 2225 | "use gnulib module sinhf for portability"); | 2222 | "use gnulib module sinhf for portability"); |
| @@ -2233,18 +2230,17 @@ _GL_WARN_ON_USE (sinhf, "sinhf is unportable - " | |||
| 2233 | # undef sqrtf | 2230 | # undef sqrtf |
| 2234 | # define sqrtf rpl_sqrtf | 2231 | # define sqrtf rpl_sqrtf |
| 2235 | # endif | 2232 | # endif |
| 2236 | _GL_FUNCDECL_RPL (sqrtf, float, (float x)); | 2233 | _GL_FUNCDECL_RPL (sqrtf, float, (float x), ); |
| 2237 | _GL_CXXALIAS_RPL (sqrtf, float, (float x)); | 2234 | _GL_CXXALIAS_RPL (sqrtf, float, (float x)); |
| 2238 | # else | 2235 | # else |
| 2239 | # if !@HAVE_SQRTF@ | 2236 | # if !@HAVE_SQRTF@ |
| 2240 | # undef sqrtf | 2237 | # undef sqrtf |
| 2241 | _GL_FUNCDECL_SYS (sqrtf, float, (float x)); | 2238 | _GL_FUNCDECL_SYS (sqrtf, float, (float x), ); |
| 2242 | # endif | 2239 | # endif |
| 2243 | _GL_CXXALIAS_SYS (sqrtf, float, (float x)); | 2240 | _GL_CXXALIAS_SYS (sqrtf, float, (float x)); |
| 2244 | # endif | 2241 | # endif |
| 2245 | _GL_CXXALIASWARN (sqrtf); | 2242 | _GL_CXXALIASWARN (sqrtf); |
| 2246 | #elif defined GNULIB_POSIXCHECK | 2243 | #elif defined GNULIB_POSIXCHECK |
| 2247 | # undef sqrtf | ||
| 2248 | # if HAVE_RAW_DECL_SQRTF | 2244 | # if HAVE_RAW_DECL_SQRTF |
| 2249 | _GL_WARN_ON_USE (sqrtf, "sqrtf is unportable - " | 2245 | _GL_WARN_ON_USE (sqrtf, "sqrtf is unportable - " |
| 2250 | "use gnulib module sqrtf for portability"); | 2246 | "use gnulib module sqrtf for portability"); |
| @@ -2257,12 +2253,12 @@ _GL_WARN_ON_USE (sqrtf, "sqrtf is unportable - " | |||
| 2257 | # undef sqrtl | 2253 | # undef sqrtl |
| 2258 | # define sqrtl rpl_sqrtl | 2254 | # define sqrtl rpl_sqrtl |
| 2259 | # endif | 2255 | # endif |
| 2260 | _GL_FUNCDECL_RPL (sqrtl, long double, (long double x)); | 2256 | _GL_FUNCDECL_RPL (sqrtl, long double, (long double x), ); |
| 2261 | _GL_CXXALIAS_RPL (sqrtl, long double, (long double x)); | 2257 | _GL_CXXALIAS_RPL (sqrtl, long double, (long double x)); |
| 2262 | # else | 2258 | # else |
| 2263 | # if !@HAVE_SQRTL@ || !@HAVE_DECL_SQRTL@ | 2259 | # if !@HAVE_SQRTL@ || !@HAVE_DECL_SQRTL@ |
| 2264 | # undef sqrtl | 2260 | # undef sqrtl |
| 2265 | _GL_FUNCDECL_SYS (sqrtl, long double, (long double x)); | 2261 | _GL_FUNCDECL_SYS (sqrtl, long double, (long double x), ); |
| 2266 | # endif | 2262 | # endif |
| 2267 | _GL_CXXALIAS_SYS (sqrtl, long double, (long double x)); | 2263 | _GL_CXXALIAS_SYS (sqrtl, long double, (long double x)); |
| 2268 | # endif | 2264 | # endif |
| @@ -2270,7 +2266,6 @@ _GL_CXXALIAS_SYS (sqrtl, long double, (long double x)); | |||
| 2270 | _GL_CXXALIASWARN (sqrtl); | 2266 | _GL_CXXALIASWARN (sqrtl); |
| 2271 | # endif | 2267 | # endif |
| 2272 | #elif defined GNULIB_POSIXCHECK | 2268 | #elif defined GNULIB_POSIXCHECK |
| 2273 | # undef sqrtl | ||
| 2274 | # if HAVE_RAW_DECL_SQRTL | 2269 | # if HAVE_RAW_DECL_SQRTL |
| 2275 | _GL_WARN_ON_USE (sqrtl, "sqrtl is unportable - " | 2270 | _GL_WARN_ON_USE (sqrtl, "sqrtl is unportable - " |
| 2276 | "use gnulib module sqrtl for portability"); | 2271 | "use gnulib module sqrtl for portability"); |
| @@ -2284,18 +2279,17 @@ _GL_WARN_ON_USE (sqrtl, "sqrtl is unportable - " | |||
| 2284 | # undef tanf | 2279 | # undef tanf |
| 2285 | # define tanf rpl_tanf | 2280 | # define tanf rpl_tanf |
| 2286 | # endif | 2281 | # endif |
| 2287 | _GL_FUNCDECL_RPL (tanf, float, (float x)); | 2282 | _GL_FUNCDECL_RPL (tanf, float, (float x), ); |
| 2288 | _GL_CXXALIAS_RPL (tanf, float, (float x)); | 2283 | _GL_CXXALIAS_RPL (tanf, float, (float x)); |
| 2289 | # else | 2284 | # else |
| 2290 | # if !@HAVE_TANF@ | 2285 | # if !@HAVE_TANF@ |
| 2291 | # undef tanf | 2286 | # undef tanf |
| 2292 | _GL_FUNCDECL_SYS (tanf, float, (float x)); | 2287 | _GL_FUNCDECL_SYS (tanf, float, (float x), ); |
| 2293 | # endif | 2288 | # endif |
| 2294 | _GL_CXXALIAS_SYS (tanf, float, (float x)); | 2289 | _GL_CXXALIAS_SYS (tanf, float, (float x)); |
| 2295 | # endif | 2290 | # endif |
| 2296 | _GL_CXXALIASWARN (tanf); | 2291 | _GL_CXXALIASWARN (tanf); |
| 2297 | #elif defined GNULIB_POSIXCHECK | 2292 | #elif defined GNULIB_POSIXCHECK |
| 2298 | # undef tanf | ||
| 2299 | # if HAVE_RAW_DECL_TANF | 2293 | # if HAVE_RAW_DECL_TANF |
| 2300 | _GL_WARN_ON_USE (tanf, "tanf is unportable - " | 2294 | _GL_WARN_ON_USE (tanf, "tanf is unportable - " |
| 2301 | "use gnulib module tanf for portability"); | 2295 | "use gnulib module tanf for portability"); |
| @@ -2305,14 +2299,13 @@ _GL_WARN_ON_USE (tanf, "tanf is unportable - " | |||
| 2305 | #if @GNULIB_TANL@ | 2299 | #if @GNULIB_TANL@ |
| 2306 | # if !@HAVE_TANL@ || !@HAVE_DECL_TANL@ | 2300 | # if !@HAVE_TANL@ || !@HAVE_DECL_TANL@ |
| 2307 | # undef tanl | 2301 | # undef tanl |
| 2308 | _GL_FUNCDECL_SYS (tanl, long double, (long double x)); | 2302 | _GL_FUNCDECL_SYS (tanl, long double, (long double x), ); |
| 2309 | # endif | 2303 | # endif |
| 2310 | _GL_CXXALIAS_SYS (tanl, long double, (long double x)); | 2304 | _GL_CXXALIAS_SYS (tanl, long double, (long double x)); |
| 2311 | # if __GLIBC__ >= 2 | 2305 | # if __GLIBC__ >= 2 |
| 2312 | _GL_CXXALIASWARN (tanl); | 2306 | _GL_CXXALIASWARN (tanl); |
| 2313 | # endif | 2307 | # endif |
| 2314 | #elif defined GNULIB_POSIXCHECK | 2308 | #elif defined GNULIB_POSIXCHECK |
| 2315 | # undef tanl | ||
| 2316 | # if HAVE_RAW_DECL_TANL | 2309 | # if HAVE_RAW_DECL_TANL |
| 2317 | _GL_WARN_ON_USE (tanl, "tanl is unportable - " | 2310 | _GL_WARN_ON_USE (tanl, "tanl is unportable - " |
| 2318 | "use gnulib module tanl for portability"); | 2311 | "use gnulib module tanl for portability"); |
| @@ -2326,18 +2319,17 @@ _GL_WARN_ON_USE (tanl, "tanl is unportable - " | |||
| 2326 | # undef tanhf | 2319 | # undef tanhf |
| 2327 | # define tanhf rpl_tanhf | 2320 | # define tanhf rpl_tanhf |
| 2328 | # endif | 2321 | # endif |
| 2329 | _GL_FUNCDECL_RPL (tanhf, float, (float x)); | 2322 | _GL_FUNCDECL_RPL (tanhf, float, (float x), ); |
| 2330 | _GL_CXXALIAS_RPL (tanhf, float, (float x)); | 2323 | _GL_CXXALIAS_RPL (tanhf, float, (float x)); |
| 2331 | # else | 2324 | # else |
| 2332 | # if !@HAVE_TANHF@ | 2325 | # if !@HAVE_TANHF@ |
| 2333 | # undef tanhf | 2326 | # undef tanhf |
| 2334 | _GL_FUNCDECL_SYS (tanhf, float, (float x)); | 2327 | _GL_FUNCDECL_SYS (tanhf, float, (float x), ); |
| 2335 | # endif | 2328 | # endif |
| 2336 | _GL_CXXALIAS_SYS (tanhf, float, (float x)); | 2329 | _GL_CXXALIAS_SYS (tanhf, float, (float x)); |
| 2337 | # endif | 2330 | # endif |
| 2338 | _GL_CXXALIASWARN (tanhf); | 2331 | _GL_CXXALIASWARN (tanhf); |
| 2339 | #elif defined GNULIB_POSIXCHECK | 2332 | #elif defined GNULIB_POSIXCHECK |
| 2340 | # undef tanhf | ||
| 2341 | # if HAVE_RAW_DECL_TANHF | 2333 | # if HAVE_RAW_DECL_TANHF |
| 2342 | _GL_WARN_ON_USE (tanhf, "tanhf is unportable - " | 2334 | _GL_WARN_ON_USE (tanhf, "tanhf is unportable - " |
| 2343 | "use gnulib module tanhf for portability"); | 2335 | "use gnulib module tanhf for portability"); |
| @@ -2351,17 +2343,16 @@ _GL_WARN_ON_USE (tanhf, "tanhf is unportable - " | |||
| 2351 | # undef truncf | 2343 | # undef truncf |
| 2352 | # define truncf rpl_truncf | 2344 | # define truncf rpl_truncf |
| 2353 | # endif | 2345 | # endif |
| 2354 | _GL_FUNCDECL_RPL (truncf, float, (float x)); | 2346 | _GL_FUNCDECL_RPL (truncf, float, (float x), ); |
| 2355 | _GL_CXXALIAS_RPL (truncf, float, (float x)); | 2347 | _GL_CXXALIAS_RPL (truncf, float, (float x)); |
| 2356 | # else | 2348 | # else |
| 2357 | # if !@HAVE_DECL_TRUNCF@ | 2349 | # if !@HAVE_DECL_TRUNCF@ |
| 2358 | _GL_FUNCDECL_SYS (truncf, float, (float x)); | 2350 | _GL_FUNCDECL_SYS (truncf, float, (float x), ); |
| 2359 | # endif | 2351 | # endif |
| 2360 | _GL_CXXALIAS_SYS (truncf, float, (float x)); | 2352 | _GL_CXXALIAS_SYS (truncf, float, (float x)); |
| 2361 | # endif | 2353 | # endif |
| 2362 | _GL_CXXALIASWARN (truncf); | 2354 | _GL_CXXALIASWARN (truncf); |
| 2363 | #elif defined GNULIB_POSIXCHECK | 2355 | #elif defined GNULIB_POSIXCHECK |
| 2364 | # undef truncf | ||
| 2365 | # if HAVE_RAW_DECL_TRUNCF | 2356 | # if HAVE_RAW_DECL_TRUNCF |
| 2366 | _GL_WARN_ON_USE (truncf, "truncf is unportable - " | 2357 | _GL_WARN_ON_USE (truncf, "truncf is unportable - " |
| 2367 | "use gnulib module truncf for portability"); | 2358 | "use gnulib module truncf for portability"); |
| @@ -2374,11 +2365,11 @@ _GL_WARN_ON_USE (truncf, "truncf is unportable - " | |||
| 2374 | # undef trunc | 2365 | # undef trunc |
| 2375 | # define trunc rpl_trunc | 2366 | # define trunc rpl_trunc |
| 2376 | # endif | 2367 | # endif |
| 2377 | _GL_FUNCDECL_RPL (trunc, double, (double x)); | 2368 | _GL_FUNCDECL_RPL (trunc, double, (double x), ); |
| 2378 | _GL_CXXALIAS_RPL (trunc, double, (double x)); | 2369 | _GL_CXXALIAS_RPL (trunc, double, (double x)); |
| 2379 | # else | 2370 | # else |
| 2380 | # if !@HAVE_DECL_TRUNC@ | 2371 | # if !@HAVE_DECL_TRUNC@ |
| 2381 | _GL_FUNCDECL_SYS (trunc, double, (double x)); | 2372 | _GL_FUNCDECL_SYS (trunc, double, (double x), ); |
| 2382 | # endif | 2373 | # endif |
| 2383 | _GL_CXXALIAS_SYS (trunc, double, (double x)); | 2374 | _GL_CXXALIAS_SYS (trunc, double, (double x)); |
| 2384 | # endif | 2375 | # endif |
| @@ -2386,7 +2377,6 @@ _GL_CXXALIAS_SYS (trunc, double, (double x)); | |||
| 2386 | _GL_CXXALIASWARN1 (trunc, double, (double x)); | 2377 | _GL_CXXALIASWARN1 (trunc, double, (double x)); |
| 2387 | # endif | 2378 | # endif |
| 2388 | #elif defined GNULIB_POSIXCHECK | 2379 | #elif defined GNULIB_POSIXCHECK |
| 2389 | # undef trunc | ||
| 2390 | # if HAVE_RAW_DECL_TRUNC | 2380 | # if HAVE_RAW_DECL_TRUNC |
| 2391 | _GL_WARN_ON_USE (trunc, "trunc is unportable - " | 2381 | _GL_WARN_ON_USE (trunc, "trunc is unportable - " |
| 2392 | "use gnulib module trunc for portability"); | 2382 | "use gnulib module trunc for portability"); |
| @@ -2399,11 +2389,11 @@ _GL_WARN_ON_USE (trunc, "trunc is unportable - " | |||
| 2399 | # undef truncl | 2389 | # undef truncl |
| 2400 | # define truncl rpl_truncl | 2390 | # define truncl rpl_truncl |
| 2401 | # endif | 2391 | # endif |
| 2402 | _GL_FUNCDECL_RPL (truncl, long double, (long double x)); | 2392 | _GL_FUNCDECL_RPL (truncl, long double, (long double x), ); |
| 2403 | _GL_CXXALIAS_RPL (truncl, long double, (long double x)); | 2393 | _GL_CXXALIAS_RPL (truncl, long double, (long double x)); |
| 2404 | # else | 2394 | # else |
| 2405 | # if !@HAVE_DECL_TRUNCL@ | 2395 | # if !@HAVE_DECL_TRUNCL@ |
| 2406 | _GL_FUNCDECL_SYS (truncl, long double, (long double x)); | 2396 | _GL_FUNCDECL_SYS (truncl, long double, (long double x), ); |
| 2407 | # endif | 2397 | # endif |
| 2408 | _GL_CXXALIAS_SYS (truncl, long double, (long double x)); | 2398 | _GL_CXXALIAS_SYS (truncl, long double, (long double x)); |
| 2409 | # endif | 2399 | # endif |
| @@ -2411,7 +2401,6 @@ _GL_CXXALIAS_SYS (truncl, long double, (long double x)); | |||
| 2411 | _GL_CXXALIASWARN (truncl); | 2401 | _GL_CXXALIASWARN (truncl); |
| 2412 | # endif | 2402 | # endif |
| 2413 | #elif defined GNULIB_POSIXCHECK | 2403 | #elif defined GNULIB_POSIXCHECK |
| 2414 | # undef truncl | ||
| 2415 | # if HAVE_RAW_DECL_TRUNCL | 2404 | # if HAVE_RAW_DECL_TRUNCL |
| 2416 | _GL_WARN_ON_USE (truncl, "truncl is unportable - " | 2405 | _GL_WARN_ON_USE (truncl, "truncl is unportable - " |
| 2417 | "use gnulib module truncl for portability"); | 2406 | "use gnulib module truncl for portability"); |
| @@ -2472,22 +2461,29 @@ _GL_CXXALIASWARN (yn); | |||
| 2472 | declarations. */ | 2461 | declarations. */ |
| 2473 | 2462 | ||
| 2474 | 2463 | ||
| 2475 | #if @GNULIB_ISFINITE@ | 2464 | #if @GNULIB_ISFINITE@ || @GNULIB_ISFINITE_NO_CXX@ |
| 2476 | # if @REPLACE_ISFINITE@ | 2465 | # if @REPLACE_ISFINITE@ |
| 2477 | _GL_EXTERN_C int gl_isfinitef (float x); | 2466 | _GL_EXTERN_C int gl_isfinitef (float x); |
| 2478 | _GL_EXTERN_C int gl_isfinited (double x); | 2467 | _GL_EXTERN_C int gl_isfinited (double x); |
| 2479 | _GL_EXTERN_C int gl_isfinitel (long double x); | 2468 | _GL_EXTERN_C int gl_isfinitel (long double x); |
| 2480 | # undef isfinite | 2469 | # ifdef __cplusplus |
| 2481 | # define isfinite(x) \ | 2470 | template <typename T> int isfinite (T); |
| 2482 | (sizeof (x) == sizeof (long double) ? gl_isfinitel (x) : \ | 2471 | template <> inline int isfinite<float> (float x) { return gl_isfinitef (x); } |
| 2483 | sizeof (x) == sizeof (double) ? gl_isfinited (x) : \ | 2472 | template <> inline int isfinite<double> (double x) { return gl_isfinited (x); } |
| 2484 | gl_isfinitef (x)) | 2473 | template <> inline int isfinite<long double> (long double x) { return gl_isfinitel (x); } |
| 2474 | # else | ||
| 2475 | # undef isfinite | ||
| 2476 | # define isfinite(x) \ | ||
| 2477 | (sizeof (x) == sizeof (long double) ? gl_isfinitel (x) : \ | ||
| 2478 | sizeof (x) == sizeof (double) ? gl_isfinited (x) : \ | ||
| 2479 | gl_isfinitef (x)) | ||
| 2480 | # endif | ||
| 2485 | # endif | 2481 | # endif |
| 2486 | # ifdef __cplusplus | 2482 | # if @GNULIB_ISFINITE@ && defined __cplusplus |
| 2487 | # if defined isfinite || defined GNULIB_NAMESPACE | 2483 | # if defined isfinite || defined GNULIB_NAMESPACE |
| 2488 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isfinite) | 2484 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isfinite) |
| 2489 | # undef isfinite | 2485 | # undef isfinite |
| 2490 | # if __GNUC__ >= 6 || (defined __clang__ && !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __OpenBSD__ || defined _AIX || (defined _WIN32 && !defined __CYGWIN__))) | 2486 | # if __GNUC__ >= 6 || (defined __clang__ && (__clang_major__ >= 19 || !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __OpenBSD__ || defined _AIX || (defined _WIN32 && !defined __CYGWIN__)))) |
| 2491 | /* This platform's <cmath> possibly defines isfinite through a set of inline | 2487 | /* This platform's <cmath> possibly defines isfinite through a set of inline |
| 2492 | functions. */ | 2488 | functions. */ |
| 2493 | _GL_MATH_CXX_REAL_FLOATING_DECL_2 (isfinite, rpl_isfinite, bool) | 2489 | _GL_MATH_CXX_REAL_FLOATING_DECL_2 (isfinite, rpl_isfinite, bool) |
| @@ -2507,18 +2503,25 @@ _GL_WARN_REAL_FLOATING_DECL (isfinite); | |||
| 2507 | #endif | 2503 | #endif |
| 2508 | 2504 | ||
| 2509 | 2505 | ||
| 2510 | #if @GNULIB_ISINF@ | 2506 | #if @GNULIB_ISINF@ || @GNULIB_ISINF_NO_CXX@ |
| 2511 | # if @REPLACE_ISINF@ | 2507 | # if @REPLACE_ISINF@ |
| 2512 | _GL_EXTERN_C int gl_isinff (float x); | 2508 | _GL_EXTERN_C int gl_isinff (float x); |
| 2513 | _GL_EXTERN_C int gl_isinfd (double x); | 2509 | _GL_EXTERN_C int gl_isinfd (double x); |
| 2514 | _GL_EXTERN_C int gl_isinfl (long double x); | 2510 | _GL_EXTERN_C int gl_isinfl (long double x); |
| 2515 | # undef isinf | 2511 | # ifdef __cplusplus |
| 2516 | # define isinf(x) \ | 2512 | template <typename T> int isinf (T); |
| 2517 | (sizeof (x) == sizeof (long double) ? gl_isinfl (x) : \ | 2513 | template <> inline int isinf<float> (float x) { return gl_isinff (x); } |
| 2518 | sizeof (x) == sizeof (double) ? gl_isinfd (x) : \ | 2514 | template <> inline int isinf<double> (double x) { return gl_isinfd (x); } |
| 2519 | gl_isinff (x)) | 2515 | template <> inline int isinf<long double> (long double x) { return gl_isinfl (x); } |
| 2516 | # else | ||
| 2517 | # undef isinf | ||
| 2518 | # define isinf(x) \ | ||
| 2519 | (sizeof (x) == sizeof (long double) ? gl_isinfl (x) : \ | ||
| 2520 | sizeof (x) == sizeof (double) ? gl_isinfd (x) : \ | ||
| 2521 | gl_isinff (x)) | ||
| 2522 | # endif | ||
| 2520 | # endif | 2523 | # endif |
| 2521 | # ifdef __cplusplus | 2524 | # if @GNULIB_ISINF@ && defined __cplusplus |
| 2522 | # if defined isinf || defined GNULIB_NAMESPACE | 2525 | # if defined isinf || defined GNULIB_NAMESPACE |
| 2523 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isinf) | 2526 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isinf) |
| 2524 | # undef isinf | 2527 | # undef isinf |
| @@ -2545,9 +2548,9 @@ _GL_WARN_REAL_FLOATING_DECL (isinf); | |||
| 2545 | #if @GNULIB_ISNANF@ | 2548 | #if @GNULIB_ISNANF@ |
| 2546 | /* Test for NaN for 'float' numbers. */ | 2549 | /* Test for NaN for 'float' numbers. */ |
| 2547 | # if @HAVE_ISNANF@ | 2550 | # if @HAVE_ISNANF@ |
| 2548 | # if defined __sun || defined __sgi | 2551 | # if defined __sun |
| 2549 | /* Solaris and IRIX have isnanf() and declare it in <ieeefp.h>. We cannot | 2552 | /* Solaris has isnanf() and declares it in <ieeefp.h>. We cannot define isnanf |
| 2550 | define isnanf as a macro, because that would conflict with <ieeefp.h>. */ | 2553 | as a macro, because that would conflict with <ieeefp.h>. */ |
| 2551 | _GL_EXTERN_C int isnanf (float x); | 2554 | _GL_EXTERN_C int isnanf (float x); |
| 2552 | # else | 2555 | # else |
| 2553 | /* The original <math.h> included above provides a declaration of isnan macro | 2556 | /* The original <math.h> included above provides a declaration of isnan macro |
| @@ -2557,7 +2560,7 @@ _GL_EXTERN_C int isnanf (float x); | |||
| 2557 | GCC >= 4.0 also provides __builtin_isnanf, but clang doesn't. */ | 2560 | GCC >= 4.0 also provides __builtin_isnanf, but clang doesn't. */ |
| 2558 | # undef isnanf | 2561 | # undef isnanf |
| 2559 | # define isnanf(x) __builtin_isnan ((float)(x)) | 2562 | # define isnanf(x) __builtin_isnan ((float)(x)) |
| 2560 | # elif defined isnan | 2563 | # elif defined isnan && !defined HAVE_ISNANF_NOLIBM |
| 2561 | # undef isnanf | 2564 | # undef isnanf |
| 2562 | # define isnanf(x) isnan ((float)(x)) | 2565 | # define isnanf(x) isnan ((float)(x)) |
| 2563 | # endif | 2566 | # endif |
| @@ -2575,9 +2578,9 @@ _GL_EXTERN_C int isnanf (float x); | |||
| 2575 | This function is a gnulib extension, unlike isnan() which applied only | 2578 | This function is a gnulib extension, unlike isnan() which applied only |
| 2576 | to 'double' numbers earlier but now is a type-generic macro. */ | 2579 | to 'double' numbers earlier but now is a type-generic macro. */ |
| 2577 | # if @HAVE_ISNAND@ | 2580 | # if @HAVE_ISNAND@ |
| 2578 | # if defined __sun || defined __sgi | 2581 | # if defined __sun |
| 2579 | /* Solaris and IRIX have isnand() and declare it in <ieeefp.h>. We cannot | 2582 | /* Solaris has isnand() and declares it in <ieeefp.h>. We cannot define isnand |
| 2580 | define isnand as a macro, because that would conflict with <ieeefp.h>. */ | 2583 | as a macro, because that would conflict with <ieeefp.h>. */ |
| 2581 | _GL_EXTERN_C int isnand (double x); | 2584 | _GL_EXTERN_C int isnand (double x); |
| 2582 | # else | 2585 | # else |
| 2583 | /* The original <math.h> included above provides a declaration of isnan | 2586 | /* The original <math.h> included above provides a declaration of isnan |
| @@ -2586,7 +2589,7 @@ _GL_EXTERN_C int isnand (double x); | |||
| 2586 | /* GCC >= 4.0 and clang provide a type-generic built-in for isnan. */ | 2589 | /* GCC >= 4.0 and clang provide a type-generic built-in for isnan. */ |
| 2587 | # undef isnand | 2590 | # undef isnand |
| 2588 | # define isnand(x) __builtin_isnan ((double)(x)) | 2591 | # define isnand(x) __builtin_isnan ((double)(x)) |
| 2589 | # else | 2592 | # elif !defined HAVE_ISNAND_NOLIBM |
| 2590 | # undef isnand | 2593 | # undef isnand |
| 2591 | # define isnand(x) isnan ((double)(x)) | 2594 | # define isnand(x) isnan ((double)(x)) |
| 2592 | # endif | 2595 | # endif |
| @@ -2609,7 +2612,7 @@ _GL_EXTERN_C int isnand (double x); | |||
| 2609 | GCC >= 4.0 also provides __builtin_isnanl, but clang doesn't. */ | 2612 | GCC >= 4.0 also provides __builtin_isnanl, but clang doesn't. */ |
| 2610 | # undef isnanl | 2613 | # undef isnanl |
| 2611 | # define isnanl(x) __builtin_isnan ((long double)(x)) | 2614 | # define isnanl(x) __builtin_isnan ((long double)(x)) |
| 2612 | # elif defined isnan | 2615 | # elif defined isnan && !defined HAVE_ISNANL_NOLIBM |
| 2613 | # undef isnanl | 2616 | # undef isnanl |
| 2614 | # define isnanl(x) isnan ((long double)(x)) | 2617 | # define isnanl(x) isnan ((long double)(x)) |
| 2615 | # endif | 2618 | # endif |
| @@ -2622,7 +2625,7 @@ _GL_EXTERN_C int isnanl (long double x) _GL_ATTRIBUTE_CONST; | |||
| 2622 | #endif | 2625 | #endif |
| 2623 | 2626 | ||
| 2624 | /* This must come *after* the snippets for GNULIB_ISNANF and GNULIB_ISNANL! */ | 2627 | /* This must come *after* the snippets for GNULIB_ISNANF and GNULIB_ISNANL! */ |
| 2625 | #if @GNULIB_ISNAN@ | 2628 | #if @GNULIB_ISNAN@ || @GNULIB_ISNAN_NO_CXX@ |
| 2626 | # if @REPLACE_ISNAN@ | 2629 | # if @REPLACE_ISNAN@ |
| 2627 | /* We can't just use the isnanf macro (e.g.) as exposed by | 2630 | /* We can't just use the isnanf macro (e.g.) as exposed by |
| 2628 | isnanf.h (e.g.) here, because those may end up being macros | 2631 | isnanf.h (e.g.) here, because those may end up being macros |
| @@ -2646,19 +2649,35 @@ _GL_EXTERN_C int rpl_isnand (double x); | |||
| 2646 | _GL_EXTERN_C int rpl_isnanl (long double x) _GL_ATTRIBUTE_CONST; | 2649 | _GL_EXTERN_C int rpl_isnanl (long double x) _GL_ATTRIBUTE_CONST; |
| 2647 | # define gl_isnan_l(x) rpl_isnanl (x) | 2650 | # define gl_isnan_l(x) rpl_isnanl (x) |
| 2648 | # endif | 2651 | # endif |
| 2649 | # undef isnan | 2652 | # ifdef __cplusplus |
| 2650 | # define isnan(x) \ | 2653 | # undef isnan |
| 2651 | (sizeof (x) == sizeof (long double) ? gl_isnan_l (x) : \ | 2654 | template <typename T> int isnan (T); |
| 2652 | sizeof (x) == sizeof (double) ? gl_isnan_d (x) : \ | 2655 | template <> inline int isnan<float> (float x) { return gl_isnan_f (x); } |
| 2653 | gl_isnan_f (x)) | 2656 | template <> inline int isnan<double> (double x) { return gl_isnan_d (x); } |
| 2657 | template <> inline int isnan<long double> (long double x) { return gl_isnan_l (x); } | ||
| 2658 | # else | ||
| 2659 | # undef isnan | ||
| 2660 | # define isnan(x) \ | ||
| 2661 | (sizeof (x) == sizeof (long double) ? gl_isnan_l (x) : \ | ||
| 2662 | sizeof (x) == sizeof (double) ? gl_isnan_d (x) : \ | ||
| 2663 | gl_isnan_f (x)) | ||
| 2664 | # endif | ||
| 2654 | # elif (__GNUC__ >= 4) || (__clang_major__ >= 4) | 2665 | # elif (__GNUC__ >= 4) || (__clang_major__ >= 4) |
| 2655 | # undef isnan | 2666 | # ifdef __cplusplus |
| 2656 | # define isnan(x) \ | 2667 | # undef isnan |
| 2657 | (sizeof (x) == sizeof (long double) ? __builtin_isnan ((long double)(x)) : \ | 2668 | template <typename T> int isnan (T); |
| 2658 | sizeof (x) == sizeof (double) ? __builtin_isnan ((double)(x)) : \ | 2669 | template <> inline int isnan<float> (float x) { return __builtin_isnan (x); } |
| 2659 | __builtin_isnan ((float)(x))) | 2670 | template <> inline int isnan<double> (double x) { return __builtin_isnan (x); } |
| 2671 | template <> inline int isnan<long double> (long double x) { return __builtin_isnan (x); } | ||
| 2672 | # else | ||
| 2673 | # undef isnan | ||
| 2674 | # define isnan(x) \ | ||
| 2675 | (sizeof (x) == sizeof (long double) ? __builtin_isnan ((long double)(x)) : \ | ||
| 2676 | sizeof (x) == sizeof (double) ? __builtin_isnan ((double)(x)) : \ | ||
| 2677 | __builtin_isnan ((float)(x))) | ||
| 2678 | # endif | ||
| 2660 | # endif | 2679 | # endif |
| 2661 | # ifdef __cplusplus | 2680 | # if @GNULIB_ISNAN@ && defined __cplusplus |
| 2662 | # if defined isnan || defined GNULIB_NAMESPACE | 2681 | # if defined isnan || defined GNULIB_NAMESPACE |
| 2663 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isnan) | 2682 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isnan) |
| 2664 | # undef isnan | 2683 | # undef isnan |
| @@ -2692,15 +2711,22 @@ _GL_WARN_REAL_FLOATING_DECL (isnan); | |||
| 2692 | #endif | 2711 | #endif |
| 2693 | 2712 | ||
| 2694 | 2713 | ||
| 2695 | #if @GNULIB_SIGNBIT@ | 2714 | #if @GNULIB_SIGNBIT@ || @GNULIB_SIGNBIT_NO_CXX@ |
| 2696 | # if (@REPLACE_SIGNBIT_USING_BUILTINS@ \ | 2715 | # if (@REPLACE_SIGNBIT_USING_BUILTINS@ \ |
| 2697 | && (!defined __cplusplus || __cplusplus < 201103)) | 2716 | && (!defined __cplusplus || __cplusplus < 201103)) |
| 2698 | # undef signbit | 2717 | # undef signbit |
| 2699 | /* GCC >= 4.0 and clang provide three built-ins for signbit. */ | 2718 | /* GCC >= 4.0 and clang provide three built-ins for signbit. */ |
| 2700 | # define signbit(x) \ | 2719 | # if defined __cplusplus && !defined __clang__ |
| 2701 | (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \ | 2720 | template <typename T> int signbit (T); |
| 2702 | sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \ | 2721 | template <> inline int signbit<float> (float x) { return __builtin_signbitf (x); } |
| 2703 | __builtin_signbitf (x)) | 2722 | template <> inline int signbit<double> (double x) { return __builtin_signbit (x); } |
| 2723 | template <> inline int signbit<long double> (long double x) { return __builtin_signbitl (x); } | ||
| 2724 | # else | ||
| 2725 | # define signbit(x) \ | ||
| 2726 | (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \ | ||
| 2727 | sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \ | ||
| 2728 | __builtin_signbitf (x)) | ||
| 2729 | # endif | ||
| 2704 | # endif | 2730 | # endif |
| 2705 | # if @REPLACE_SIGNBIT@ && !GNULIB_defined_signbit | 2731 | # if @REPLACE_SIGNBIT@ && !GNULIB_defined_signbit |
| 2706 | # undef signbit | 2732 | # undef signbit |
| @@ -2744,17 +2770,24 @@ _GL_EXTERN_C int gl_signbitl (long double arg); | |||
| 2744 | }) | 2770 | }) |
| 2745 | # endif | 2771 | # endif |
| 2746 | # endif | 2772 | # endif |
| 2747 | # define signbit(x) \ | 2773 | # if defined __cplusplus && !defined __clang__ |
| 2748 | (sizeof (x) == sizeof (long double) ? gl_signbitl (x) : \ | 2774 | template <typename T> int signbit (T); |
| 2749 | sizeof (x) == sizeof (double) ? gl_signbitd (x) : \ | 2775 | template <> inline int signbit<float> (float x) { return gl_signbitf (x); } |
| 2750 | gl_signbitf (x)) | 2776 | template <> inline int signbit<double> (double x) { return gl_signbitd (x); } |
| 2777 | template <> inline int signbit<long double> (long double x) { return gl_signbitl (x); } | ||
| 2778 | # else | ||
| 2779 | # define signbit(x) \ | ||
| 2780 | (sizeof (x) == sizeof (long double) ? gl_signbitl (x) : \ | ||
| 2781 | sizeof (x) == sizeof (double) ? gl_signbitd (x) : \ | ||
| 2782 | gl_signbitf (x)) | ||
| 2783 | # endif | ||
| 2751 | # define GNULIB_defined_signbit 1 | 2784 | # define GNULIB_defined_signbit 1 |
| 2752 | # endif | 2785 | # endif |
| 2753 | # ifdef __cplusplus | 2786 | # if @GNULIB_SIGNBIT@ && defined __cplusplus |
| 2754 | # if defined signbit || defined GNULIB_NAMESPACE | 2787 | # if defined signbit || defined GNULIB_NAMESPACE |
| 2755 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (signbit) | 2788 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (signbit) |
| 2756 | # undef signbit | 2789 | # undef signbit |
| 2757 | # if __GNUC__ >= 6 || (defined __clang__ && !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __OpenBSD__ || defined _AIX || (defined _WIN32 && !defined __CYGWIN__))) | 2790 | # if __cplusplus >= 201103L || __GNUC__ >= 6 || (defined __clang__ && !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __OpenBSD__ || defined _AIX || (defined _WIN32 && !defined __CYGWIN__))) |
| 2758 | /* This platform's <cmath> possibly defines signbit through a set of inline | 2791 | /* This platform's <cmath> possibly defines signbit through a set of inline |
| 2759 | functions. */ | 2792 | functions. */ |
| 2760 | _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit, rpl_signbit, bool) | 2793 | _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit, rpl_signbit, bool) |
| @@ -2780,17 +2813,16 @@ _GL_WARN_REAL_FLOATING_DECL (signbit); | |||
| 2780 | # undef getpayloadf | 2813 | # undef getpayloadf |
| 2781 | # define getpayloadf rpl_getpayloadf | 2814 | # define getpayloadf rpl_getpayloadf |
| 2782 | # endif | 2815 | # endif |
| 2783 | _GL_FUNCDECL_RPL (getpayloadf, float, (const float *)); | 2816 | _GL_FUNCDECL_RPL (getpayloadf, float, (const float *), ); |
| 2784 | _GL_CXXALIAS_RPL (getpayloadf, float, (const float *)); | 2817 | _GL_CXXALIAS_RPL (getpayloadf, float, (const float *)); |
| 2785 | # else | 2818 | # else |
| 2786 | # if !@HAVE_GETPAYLOADF@ | 2819 | # if !@HAVE_GETPAYLOADF@ |
| 2787 | _GL_FUNCDECL_SYS (getpayloadf, float, (const float *)); | 2820 | _GL_FUNCDECL_SYS (getpayloadf, float, (const float *), ); |
| 2788 | # endif | 2821 | # endif |
| 2789 | _GL_CXXALIAS_SYS (getpayloadf, float, (const float *)); | 2822 | _GL_CXXALIAS_SYS (getpayloadf, float, (const float *)); |
| 2790 | # endif | 2823 | # endif |
| 2791 | _GL_CXXALIASWARN (getpayloadf); | 2824 | _GL_CXXALIASWARN (getpayloadf); |
| 2792 | #elif defined GNULIB_POSIXCHECK | 2825 | #elif defined GNULIB_POSIXCHECK |
| 2793 | # undef getpayloadf | ||
| 2794 | # if HAVE_RAW_DECL_GETPAYLOADF | 2826 | # if HAVE_RAW_DECL_GETPAYLOADF |
| 2795 | _GL_WARN_ON_USE (getpayloadf, "getpayloadf is unportable - " | 2827 | _GL_WARN_ON_USE (getpayloadf, "getpayloadf is unportable - " |
| 2796 | "use gnulib module getpayloadf for portability"); | 2828 | "use gnulib module getpayloadf for portability"); |
| @@ -2803,17 +2835,16 @@ _GL_WARN_ON_USE (getpayloadf, "getpayloadf is unportable - " | |||
| 2803 | # undef getpayload | 2835 | # undef getpayload |
| 2804 | # define getpayload rpl_getpayload | 2836 | # define getpayload rpl_getpayload |
| 2805 | # endif | 2837 | # endif |
| 2806 | _GL_FUNCDECL_RPL (getpayload, double, (const double *)); | 2838 | _GL_FUNCDECL_RPL (getpayload, double, (const double *), ); |
| 2807 | _GL_CXXALIAS_RPL (getpayload, double, (const double *)); | 2839 | _GL_CXXALIAS_RPL (getpayload, double, (const double *)); |
| 2808 | # else | 2840 | # else |
| 2809 | # if !@HAVE_GETPAYLOAD@ | 2841 | # if !@HAVE_GETPAYLOAD@ |
| 2810 | _GL_FUNCDECL_SYS (getpayload, double, (const double *)); | 2842 | _GL_FUNCDECL_SYS (getpayload, double, (const double *), ); |
| 2811 | # endif | 2843 | # endif |
| 2812 | _GL_CXXALIAS_SYS (getpayload, double, (const double *)); | 2844 | _GL_CXXALIAS_SYS (getpayload, double, (const double *)); |
| 2813 | # endif | 2845 | # endif |
| 2814 | _GL_CXXALIASWARN (getpayload); | 2846 | _GL_CXXALIASWARN (getpayload); |
| 2815 | #elif defined GNULIB_POSIXCHECK | 2847 | #elif defined GNULIB_POSIXCHECK |
| 2816 | # undef getpayload | ||
| 2817 | # if HAVE_RAW_DECL_GETPAYLOAD | 2848 | # if HAVE_RAW_DECL_GETPAYLOAD |
| 2818 | _GL_WARN_ON_USE (getpayload, "getpayload is unportable - " | 2849 | _GL_WARN_ON_USE (getpayload, "getpayload is unportable - " |
| 2819 | "use gnulib module getpayload for portability"); | 2850 | "use gnulib module getpayload for portability"); |
| @@ -2826,17 +2857,16 @@ _GL_WARN_ON_USE (getpayload, "getpayload is unportable - " | |||
| 2826 | # undef getpayloadl | 2857 | # undef getpayloadl |
| 2827 | # define getpayloadl rpl_getpayloadl | 2858 | # define getpayloadl rpl_getpayloadl |
| 2828 | # endif | 2859 | # endif |
| 2829 | _GL_FUNCDECL_RPL (getpayloadl, long double, (const long double *)); | 2860 | _GL_FUNCDECL_RPL (getpayloadl, long double, (const long double *), ); |
| 2830 | _GL_CXXALIAS_RPL (getpayloadl, long double, (const long double *)); | 2861 | _GL_CXXALIAS_RPL (getpayloadl, long double, (const long double *)); |
| 2831 | # else | 2862 | # else |
| 2832 | # if !@HAVE_GETPAYLOADL@ | 2863 | # if !@HAVE_GETPAYLOADL@ |
| 2833 | _GL_FUNCDECL_SYS (getpayloadl, long double, (const long double *)); | 2864 | _GL_FUNCDECL_SYS (getpayloadl, long double, (const long double *), ); |
| 2834 | # endif | 2865 | # endif |
| 2835 | _GL_CXXALIAS_SYS (getpayloadl, long double, (const long double *)); | 2866 | _GL_CXXALIAS_SYS (getpayloadl, long double, (const long double *)); |
| 2836 | # endif | 2867 | # endif |
| 2837 | _GL_CXXALIASWARN (getpayloadl); | 2868 | _GL_CXXALIASWARN (getpayloadl); |
| 2838 | #elif defined GNULIB_POSIXCHECK | 2869 | #elif defined GNULIB_POSIXCHECK |
| 2839 | # undef getpayloadl | ||
| 2840 | # if HAVE_RAW_DECL_GETPAYLOADL | 2870 | # if HAVE_RAW_DECL_GETPAYLOADL |
| 2841 | _GL_WARN_ON_USE (getpayloadl, "getpayloadl is unportable - " | 2871 | _GL_WARN_ON_USE (getpayloadl, "getpayloadl is unportable - " |
| 2842 | "use gnulib module getpayloadl for portability"); | 2872 | "use gnulib module getpayloadl for portability"); |
| @@ -2846,12 +2876,11 @@ _GL_WARN_ON_USE (getpayloadl, "getpayloadl is unportable - " | |||
| 2846 | 2876 | ||
| 2847 | #if @GNULIB_SETPAYLOADF@ | 2877 | #if @GNULIB_SETPAYLOADF@ |
| 2848 | # if !@HAVE_SETPAYLOADF@ | 2878 | # if !@HAVE_SETPAYLOADF@ |
| 2849 | _GL_FUNCDECL_SYS (setpayloadf, int, (float *, float)); | 2879 | _GL_FUNCDECL_SYS (setpayloadf, int, (float *, float), ); |
| 2850 | # endif | 2880 | # endif |
| 2851 | _GL_CXXALIAS_SYS (setpayloadf, int, (float *, float)); | 2881 | _GL_CXXALIAS_SYS (setpayloadf, int, (float *, float)); |
| 2852 | _GL_CXXALIASWARN (setpayloadf); | 2882 | _GL_CXXALIASWARN (setpayloadf); |
| 2853 | #elif defined GNULIB_POSIXCHECK | 2883 | #elif defined GNULIB_POSIXCHECK |
| 2854 | # undef setpayloadf | ||
| 2855 | # if HAVE_RAW_DECL_SETPAYLOADF | 2884 | # if HAVE_RAW_DECL_SETPAYLOADF |
| 2856 | _GL_WARN_ON_USE (setpayloadf, "setpayloadf is unportable - " | 2885 | _GL_WARN_ON_USE (setpayloadf, "setpayloadf is unportable - " |
| 2857 | "use gnulib module setpayloadf for portability"); | 2886 | "use gnulib module setpayloadf for portability"); |
| @@ -2860,12 +2889,11 @@ _GL_WARN_ON_USE (setpayloadf, "setpayloadf is unportable - " | |||
| 2860 | 2889 | ||
| 2861 | #if @GNULIB_SETPAYLOAD@ | 2890 | #if @GNULIB_SETPAYLOAD@ |
| 2862 | # if !@HAVE_SETPAYLOAD@ | 2891 | # if !@HAVE_SETPAYLOAD@ |
| 2863 | _GL_FUNCDECL_SYS (setpayload, int, (double *, double)); | 2892 | _GL_FUNCDECL_SYS (setpayload, int, (double *, double), ); |
| 2864 | # endif | 2893 | # endif |
| 2865 | _GL_CXXALIAS_SYS (setpayload, int, (double *, double)); | 2894 | _GL_CXXALIAS_SYS (setpayload, int, (double *, double)); |
| 2866 | _GL_CXXALIASWARN (setpayload); | 2895 | _GL_CXXALIASWARN (setpayload); |
| 2867 | #elif defined GNULIB_POSIXCHECK | 2896 | #elif defined GNULIB_POSIXCHECK |
| 2868 | # undef setpayload | ||
| 2869 | # if HAVE_RAW_DECL_SETPAYLOAD | 2897 | # if HAVE_RAW_DECL_SETPAYLOAD |
| 2870 | _GL_WARN_ON_USE (setpayload, "setpayload is unportable - " | 2898 | _GL_WARN_ON_USE (setpayload, "setpayload is unportable - " |
| 2871 | "use gnulib module setpayload for portability"); | 2899 | "use gnulib module setpayload for portability"); |
| @@ -2874,12 +2902,11 @@ _GL_WARN_ON_USE (setpayload, "setpayload is unportable - " | |||
| 2874 | 2902 | ||
| 2875 | #if @GNULIB_SETPAYLOADL@ | 2903 | #if @GNULIB_SETPAYLOADL@ |
| 2876 | # if !@HAVE_SETPAYLOADL@ | 2904 | # if !@HAVE_SETPAYLOADL@ |
| 2877 | _GL_FUNCDECL_SYS (setpayloadl, int, (long double *, long double)); | 2905 | _GL_FUNCDECL_SYS (setpayloadl, int, (long double *, long double), ); |
| 2878 | # endif | 2906 | # endif |
| 2879 | _GL_CXXALIAS_SYS (setpayloadl, int, (long double *, long double)); | 2907 | _GL_CXXALIAS_SYS (setpayloadl, int, (long double *, long double)); |
| 2880 | _GL_CXXALIASWARN (setpayloadl); | 2908 | _GL_CXXALIASWARN (setpayloadl); |
| 2881 | #elif defined GNULIB_POSIXCHECK | 2909 | #elif defined GNULIB_POSIXCHECK |
| 2882 | # undef setpayloadl | ||
| 2883 | # if HAVE_RAW_DECL_SETPAYLOADL | 2910 | # if HAVE_RAW_DECL_SETPAYLOADL |
| 2884 | _GL_WARN_ON_USE (setpayloadl, "setpayloadl is unportable - " | 2911 | _GL_WARN_ON_USE (setpayloadl, "setpayloadl is unportable - " |
| 2885 | "use gnulib module setpayloadl for portability"); | 2912 | "use gnulib module setpayloadl for portability"); |
| @@ -2889,12 +2916,11 @@ _GL_WARN_ON_USE (setpayloadl, "setpayloadl is unportable - " | |||
| 2889 | 2916 | ||
| 2890 | #if @GNULIB_SETPAYLOADSIGF@ | 2917 | #if @GNULIB_SETPAYLOADSIGF@ |
| 2891 | # if !@HAVE_SETPAYLOADSIGF@ | 2918 | # if !@HAVE_SETPAYLOADSIGF@ |
| 2892 | _GL_FUNCDECL_SYS (setpayloadsigf, int, (float *, float)); | 2919 | _GL_FUNCDECL_SYS (setpayloadsigf, int, (float *, float), ); |
| 2893 | # endif | 2920 | # endif |
| 2894 | _GL_CXXALIAS_SYS (setpayloadsigf, int, (float *, float)); | 2921 | _GL_CXXALIAS_SYS (setpayloadsigf, int, (float *, float)); |
| 2895 | _GL_CXXALIASWARN (setpayloadsigf); | 2922 | _GL_CXXALIASWARN (setpayloadsigf); |
| 2896 | #elif defined GNULIB_POSIXCHECK | 2923 | #elif defined GNULIB_POSIXCHECK |
| 2897 | # undef setpayloadsigf | ||
| 2898 | # if HAVE_RAW_DECL_SETPAYLOADSIGF | 2924 | # if HAVE_RAW_DECL_SETPAYLOADSIGF |
| 2899 | _GL_WARN_ON_USE (setpayloadsigf, "setpayloadsigf is unportable - " | 2925 | _GL_WARN_ON_USE (setpayloadsigf, "setpayloadsigf is unportable - " |
| 2900 | "use gnulib module setpayloadsigf for portability"); | 2926 | "use gnulib module setpayloadsigf for portability"); |
| @@ -2903,12 +2929,11 @@ _GL_WARN_ON_USE (setpayloadsigf, "setpayloadsigf is unportable - " | |||
| 2903 | 2929 | ||
| 2904 | #if @GNULIB_SETPAYLOADSIG@ | 2930 | #if @GNULIB_SETPAYLOADSIG@ |
| 2905 | # if !@HAVE_SETPAYLOADSIG@ | 2931 | # if !@HAVE_SETPAYLOADSIG@ |
| 2906 | _GL_FUNCDECL_SYS (setpayloadsig, int, (double *, double)); | 2932 | _GL_FUNCDECL_SYS (setpayloadsig, int, (double *, double), ); |
| 2907 | # endif | 2933 | # endif |
| 2908 | _GL_CXXALIAS_SYS (setpayloadsig, int, (double *, double)); | 2934 | _GL_CXXALIAS_SYS (setpayloadsig, int, (double *, double)); |
| 2909 | _GL_CXXALIASWARN (setpayloadsig); | 2935 | _GL_CXXALIASWARN (setpayloadsig); |
| 2910 | #elif defined GNULIB_POSIXCHECK | 2936 | #elif defined GNULIB_POSIXCHECK |
| 2911 | # undef setpayloadsig | ||
| 2912 | # if HAVE_RAW_DECL_SETPAYLOADSIG | 2937 | # if HAVE_RAW_DECL_SETPAYLOADSIG |
| 2913 | _GL_WARN_ON_USE (setpayloadsig, "setpayloadsig is unportable - " | 2938 | _GL_WARN_ON_USE (setpayloadsig, "setpayloadsig is unportable - " |
| 2914 | "use gnulib module setpayloadsig for portability"); | 2939 | "use gnulib module setpayloadsig for portability"); |
| @@ -2917,12 +2942,11 @@ _GL_WARN_ON_USE (setpayloadsig, "setpayloadsig is unportable - " | |||
| 2917 | 2942 | ||
| 2918 | #if @GNULIB_SETPAYLOADSIGL@ | 2943 | #if @GNULIB_SETPAYLOADSIGL@ |
| 2919 | # if !@HAVE_SETPAYLOADSIGL@ | 2944 | # if !@HAVE_SETPAYLOADSIGL@ |
| 2920 | _GL_FUNCDECL_SYS (setpayloadsigl, int, (long double *, long double)); | 2945 | _GL_FUNCDECL_SYS (setpayloadsigl, int, (long double *, long double), ); |
| 2921 | # endif | 2946 | # endif |
| 2922 | _GL_CXXALIAS_SYS (setpayloadsigl, int, (long double *, long double)); | 2947 | _GL_CXXALIAS_SYS (setpayloadsigl, int, (long double *, long double)); |
| 2923 | _GL_CXXALIASWARN (setpayloadsigl); | 2948 | _GL_CXXALIASWARN (setpayloadsigl); |
| 2924 | #elif defined GNULIB_POSIXCHECK | 2949 | #elif defined GNULIB_POSIXCHECK |
| 2925 | # undef setpayloadsigl | ||
| 2926 | # if HAVE_RAW_DECL_SETPAYLOADSIGL | 2950 | # if HAVE_RAW_DECL_SETPAYLOADSIGL |
| 2927 | _GL_WARN_ON_USE (setpayloadsigl, "setpayloadsigl is unportable - " | 2951 | _GL_WARN_ON_USE (setpayloadsigl, "setpayloadsigl is unportable - " |
| 2928 | "use gnulib module setpayloadsigl for portability"); | 2952 | "use gnulib module setpayloadsigl for portability"); |
| @@ -2936,17 +2960,16 @@ _GL_WARN_ON_USE (setpayloadsigl, "setpayloadsigl is unportable - " | |||
| 2936 | # undef totalorderf | 2960 | # undef totalorderf |
| 2937 | # define totalorderf rpl_totalorderf | 2961 | # define totalorderf rpl_totalorderf |
| 2938 | # endif | 2962 | # endif |
| 2939 | _GL_FUNCDECL_RPL (totalorderf, int, (float const *, float const *)); | 2963 | _GL_FUNCDECL_RPL (totalorderf, int, (float const *, float const *), ); |
| 2940 | _GL_CXXALIAS_RPL (totalorderf, int, (float const *, float const *)); | 2964 | _GL_CXXALIAS_RPL (totalorderf, int, (float const *, float const *)); |
| 2941 | # else | 2965 | # else |
| 2942 | # if !@HAVE_TOTALORDERF@ | 2966 | # if !@HAVE_TOTALORDERF@ |
| 2943 | _GL_FUNCDECL_SYS (totalorderf, int, (float const *, float const *)); | 2967 | _GL_FUNCDECL_SYS (totalorderf, int, (float const *, float const *), ); |
| 2944 | # endif | 2968 | # endif |
| 2945 | _GL_CXXALIAS_SYS (totalorderf, int, (float const *, float const *)); | 2969 | _GL_CXXALIAS_SYS (totalorderf, int, (float const *, float const *)); |
| 2946 | # endif | 2970 | # endif |
| 2947 | _GL_CXXALIASWARN (totalorderf); | 2971 | _GL_CXXALIASWARN (totalorderf); |
| 2948 | #elif defined GNULIB_POSIXCHECK | 2972 | #elif defined GNULIB_POSIXCHECK |
| 2949 | # undef totalorderf | ||
| 2950 | # if HAVE_RAW_DECL_TOTALORDERF | 2973 | # if HAVE_RAW_DECL_TOTALORDERF |
| 2951 | _GL_WARN_ON_USE (totalorderf, "totalorderf is unportable - " | 2974 | _GL_WARN_ON_USE (totalorderf, "totalorderf is unportable - " |
| 2952 | "use gnulib module totalorderf for portability"); | 2975 | "use gnulib module totalorderf for portability"); |
| @@ -2959,11 +2982,11 @@ _GL_WARN_ON_USE (totalorderf, "totalorderf is unportable - " | |||
| 2959 | # undef totalorder | 2982 | # undef totalorder |
| 2960 | # define totalorder rpl_totalorder | 2983 | # define totalorder rpl_totalorder |
| 2961 | # endif | 2984 | # endif |
| 2962 | _GL_FUNCDECL_RPL (totalorder, int, (double const *, double const *)); | 2985 | _GL_FUNCDECL_RPL (totalorder, int, (double const *, double const *), ); |
| 2963 | _GL_CXXALIAS_RPL (totalorder, int, (double const *, double const *)); | 2986 | _GL_CXXALIAS_RPL (totalorder, int, (double const *, double const *)); |
| 2964 | # else | 2987 | # else |
| 2965 | # if !@HAVE_TOTALORDER@ | 2988 | # if !@HAVE_TOTALORDER@ |
| 2966 | _GL_FUNCDECL_SYS (totalorder, int, (double const *, double const *)); | 2989 | _GL_FUNCDECL_SYS (totalorder, int, (double const *, double const *), ); |
| 2967 | # endif | 2990 | # endif |
| 2968 | _GL_CXXALIAS_SYS (totalorder, int, (double const *, double const *)); | 2991 | _GL_CXXALIAS_SYS (totalorder, int, (double const *, double const *)); |
| 2969 | # endif | 2992 | # endif |
| @@ -2971,7 +2994,6 @@ _GL_CXXALIAS_SYS (totalorder, int, (double const *, double const *)); | |||
| 2971 | _GL_CXXALIASWARN1 (totalorder, int, (double const *, double const *)); | 2994 | _GL_CXXALIASWARN1 (totalorder, int, (double const *, double const *)); |
| 2972 | # endif | 2995 | # endif |
| 2973 | #elif defined GNULIB_POSIXCHECK | 2996 | #elif defined GNULIB_POSIXCHECK |
| 2974 | # undef totalorder | ||
| 2975 | # if HAVE_RAW_DECL_TOTALORDER | 2997 | # if HAVE_RAW_DECL_TOTALORDER |
| 2976 | _GL_WARN_ON_USE (totalorder, "totalorder is unportable - " | 2998 | _GL_WARN_ON_USE (totalorder, "totalorder is unportable - " |
| 2977 | "use gnulib module totalorder for portability"); | 2999 | "use gnulib module totalorder for portability"); |
| @@ -2985,20 +3007,19 @@ _GL_WARN_ON_USE (totalorder, "totalorder is unportable - " | |||
| 2985 | # define totalorderl rpl_totalorderl | 3007 | # define totalorderl rpl_totalorderl |
| 2986 | # endif | 3008 | # endif |
| 2987 | _GL_FUNCDECL_RPL (totalorderl, int, | 3009 | _GL_FUNCDECL_RPL (totalorderl, int, |
| 2988 | (long double const *, long double const *)); | 3010 | (long double const *, long double const *), ); |
| 2989 | _GL_CXXALIAS_RPL (totalorderl, int, | 3011 | _GL_CXXALIAS_RPL (totalorderl, int, |
| 2990 | (long double const *, long double const *)); | 3012 | (long double const *, long double const *)); |
| 2991 | # else | 3013 | # else |
| 2992 | # if !@HAVE_TOTALORDERL@ | 3014 | # if !@HAVE_TOTALORDERL@ |
| 2993 | _GL_FUNCDECL_SYS (totalorderl, int, | 3015 | _GL_FUNCDECL_SYS (totalorderl, int, |
| 2994 | (long double const *, long double const *)); | 3016 | (long double const *, long double const *), ); |
| 2995 | # endif | 3017 | # endif |
| 2996 | _GL_CXXALIAS_SYS (totalorderl, int, | 3018 | _GL_CXXALIAS_SYS (totalorderl, int, |
| 2997 | (long double const *, long double const *)); | 3019 | (long double const *, long double const *)); |
| 2998 | # endif | 3020 | # endif |
| 2999 | _GL_CXXALIASWARN (totalorderl); | 3021 | _GL_CXXALIASWARN (totalorderl); |
| 3000 | #elif defined GNULIB_POSIXCHECK | 3022 | #elif defined GNULIB_POSIXCHECK |
| 3001 | # undef totalorderl | ||
| 3002 | # if HAVE_RAW_DECL_TOTALORDERL | 3023 | # if HAVE_RAW_DECL_TOTALORDERL |
| 3003 | _GL_WARN_ON_USE (totalorderl, "totalorderl is unportable - " | 3024 | _GL_WARN_ON_USE (totalorderl, "totalorderl is unportable - " |
| 3004 | "use gnulib module totalorderl for portability"); | 3025 | "use gnulib module totalorderl for portability"); |
| @@ -3012,11 +3033,11 @@ _GL_WARN_ON_USE (totalorderl, "totalorderl is unportable - " | |||
| 3012 | # undef totalordermagf | 3033 | # undef totalordermagf |
| 3013 | # define totalordermagf rpl_totalordermagf | 3034 | # define totalordermagf rpl_totalordermagf |
| 3014 | # endif | 3035 | # endif |
| 3015 | _GL_FUNCDECL_RPL (totalordermagf, int, (float const *, float const *)); | 3036 | _GL_FUNCDECL_RPL (totalordermagf, int, (float const *, float const *), ); |
| 3016 | _GL_CXXALIAS_RPL (totalordermagf, int, (float const *, float const *)); | 3037 | _GL_CXXALIAS_RPL (totalordermagf, int, (float const *, float const *)); |
| 3017 | # else | 3038 | # else |
| 3018 | # if !@HAVE_TOTALORDERMAGF@ | 3039 | # if !@HAVE_TOTALORDERMAGF@ |
| 3019 | _GL_FUNCDECL_SYS (totalordermagf, int, (float const *, float const *)); | 3040 | _GL_FUNCDECL_SYS (totalordermagf, int, (float const *, float const *), ); |
| 3020 | # endif | 3041 | # endif |
| 3021 | _GL_CXXALIAS_SYS (totalordermagf, int, (float const *, float const *)); | 3042 | _GL_CXXALIAS_SYS (totalordermagf, int, (float const *, float const *)); |
| 3022 | # endif | 3043 | # endif |
| @@ -3024,7 +3045,6 @@ _GL_CXXALIAS_SYS (totalordermagf, int, (float const *, float const *)); | |||
| 3024 | _GL_CXXALIASWARN1 (totalordermagf, int, (float const *, float const *)); | 3045 | _GL_CXXALIASWARN1 (totalordermagf, int, (float const *, float const *)); |
| 3025 | # endif | 3046 | # endif |
| 3026 | #elif defined GNULIB_POSIXCHECK | 3047 | #elif defined GNULIB_POSIXCHECK |
| 3027 | # undef totalordermagf | ||
| 3028 | # if HAVE_RAW_DECL_TOTALORDERMAGF | 3048 | # if HAVE_RAW_DECL_TOTALORDERMAGF |
| 3029 | _GL_WARN_ON_USE (totalordermagf, "totalordermagf is unportable - " | 3049 | _GL_WARN_ON_USE (totalordermagf, "totalordermagf is unportable - " |
| 3030 | "use gnulib module totalordermagf for portability"); | 3050 | "use gnulib module totalordermagf for portability"); |
| @@ -3037,11 +3057,11 @@ _GL_WARN_ON_USE (totalordermagf, "totalordermagf is unportable - " | |||
| 3037 | # undef totalordermag | 3057 | # undef totalordermag |
| 3038 | # define totalordermag rpl_totalordermag | 3058 | # define totalordermag rpl_totalordermag |
| 3039 | # endif | 3059 | # endif |
| 3040 | _GL_FUNCDECL_RPL (totalordermag, int, (double const *, double const *)); | 3060 | _GL_FUNCDECL_RPL (totalordermag, int, (double const *, double const *), ); |
| 3041 | _GL_CXXALIAS_RPL (totalordermag, int, (double const *, double const *)); | 3061 | _GL_CXXALIAS_RPL (totalordermag, int, (double const *, double const *)); |
| 3042 | # else | 3062 | # else |
| 3043 | # if !@HAVE_TOTALORDERMAG@ | 3063 | # if !@HAVE_TOTALORDERMAG@ |
| 3044 | _GL_FUNCDECL_SYS (totalordermag, int, (double const *, double const *)); | 3064 | _GL_FUNCDECL_SYS (totalordermag, int, (double const *, double const *), ); |
| 3045 | # endif | 3065 | # endif |
| 3046 | _GL_CXXALIAS_SYS (totalordermag, int, (double const *, double const *)); | 3066 | _GL_CXXALIAS_SYS (totalordermag, int, (double const *, double const *)); |
| 3047 | # endif | 3067 | # endif |
| @@ -3049,7 +3069,6 @@ _GL_CXXALIAS_SYS (totalordermag, int, (double const *, double const *)); | |||
| 3049 | _GL_CXXALIASWARN1 (totalordermag, int, (double const *, double const *)); | 3069 | _GL_CXXALIASWARN1 (totalordermag, int, (double const *, double const *)); |
| 3050 | # endif | 3070 | # endif |
| 3051 | #elif defined GNULIB_POSIXCHECK | 3071 | #elif defined GNULIB_POSIXCHECK |
| 3052 | # undef totalordermag | ||
| 3053 | # if HAVE_RAW_DECL_TOTALORDERMAG | 3072 | # if HAVE_RAW_DECL_TOTALORDERMAG |
| 3054 | _GL_WARN_ON_USE (totalordermag, "totalordermag is unportable - " | 3073 | _GL_WARN_ON_USE (totalordermag, "totalordermag is unportable - " |
| 3055 | "use gnulib module totalordermag for portability"); | 3074 | "use gnulib module totalordermag for portability"); |
| @@ -3063,13 +3082,13 @@ _GL_WARN_ON_USE (totalordermag, "totalordermag is unportable - " | |||
| 3063 | # define totalordermagl rpl_totalordermagl | 3082 | # define totalordermagl rpl_totalordermagl |
| 3064 | # endif | 3083 | # endif |
| 3065 | _GL_FUNCDECL_RPL (totalordermagl, int, | 3084 | _GL_FUNCDECL_RPL (totalordermagl, int, |
| 3066 | (long double const *, long double const *)); | 3085 | (long double const *, long double const *), ); |
| 3067 | _GL_CXXALIAS_RPL (totalordermagl, int, | 3086 | _GL_CXXALIAS_RPL (totalordermagl, int, |
| 3068 | (long double const *, long double const *)); | 3087 | (long double const *, long double const *)); |
| 3069 | # else | 3088 | # else |
| 3070 | # if !@HAVE_TOTALORDERMAGL@ | 3089 | # if !@HAVE_TOTALORDERMAGL@ |
| 3071 | _GL_FUNCDECL_SYS (totalordermagl, int, | 3090 | _GL_FUNCDECL_SYS (totalordermagl, int, |
| 3072 | (long double const *, long double const *)); | 3091 | (long double const *, long double const *), ); |
| 3073 | # endif | 3092 | # endif |
| 3074 | _GL_CXXALIAS_SYS (totalordermagl, int, | 3093 | _GL_CXXALIAS_SYS (totalordermagl, int, |
| 3075 | (long double const *, long double const *)); | 3094 | (long double const *, long double const *)); |
| @@ -3079,7 +3098,6 @@ _GL_CXXALIASWARN1 (totalordermagl, int, | |||
| 3079 | (long double const *, long double const *)); | 3098 | (long double const *, long double const *)); |
| 3080 | # endif | 3099 | # endif |
| 3081 | #elif defined GNULIB_POSIXCHECK | 3100 | #elif defined GNULIB_POSIXCHECK |
| 3082 | # undef totalordermagl | ||
| 3083 | # if HAVE_RAW_DECL_TOTALORDERMAGL | 3101 | # if HAVE_RAW_DECL_TOTALORDERMAGL |
| 3084 | _GL_WARN_ON_USE (totalordermagl, "totalordermagl is unportable - " | 3102 | _GL_WARN_ON_USE (totalordermagl, "totalordermagl is unportable - " |
| 3085 | "use gnulib module totalordermagl for portability"); | 3103 | "use gnulib module totalordermagl for portability"); |
