diff options
Diffstat (limited to 'gl/math.in.h')
| -rw-r--r-- | gl/math.in.h | 269 |
1 files changed, 105 insertions, 164 deletions
diff --git a/gl/math.in.h b/gl/math.in.h index f4e80c53..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-2025 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 |
| @@ -251,8 +251,8 @@ _NaN () | |||
| 251 | 251 | ||
| 252 | #if !(defined FP_ILOGB0 && defined FP_ILOGBNAN) | 252 | #if !(defined FP_ILOGB0 && defined FP_ILOGBNAN) |
| 253 | /* Ensure FP_ILOGB0 and FP_ILOGBNAN are defined. */ | 253 | /* Ensure FP_ILOGB0 and FP_ILOGBNAN are defined. */ |
| 254 | # if defined __NetBSD__ || defined __sgi | 254 | # if defined __NetBSD__ |
| 255 | /* NetBSD, IRIX 6.5: match what ilogb() does */ | 255 | /* NetBSD: match what ilogb() does */ |
| 256 | # define FP_ILOGB0 (- 2147483647 - 1) /* INT_MIN */ | 256 | # define FP_ILOGB0 (- 2147483647 - 1) /* INT_MIN */ |
| 257 | # define FP_ILOGBNAN (- 2147483647 - 1) /* INT_MIN */ | 257 | # define FP_ILOGBNAN (- 2147483647 - 1) /* INT_MIN */ |
| 258 | # elif defined _AIX | 258 | # elif defined _AIX |
| @@ -288,7 +288,6 @@ _GL_CXXALIAS_SYS (acosf, float, (float x)); | |||
| 288 | # endif | 288 | # endif |
| 289 | _GL_CXXALIASWARN (acosf); | 289 | _GL_CXXALIASWARN (acosf); |
| 290 | #elif defined GNULIB_POSIXCHECK | 290 | #elif defined GNULIB_POSIXCHECK |
| 291 | # undef acosf | ||
| 292 | # if HAVE_RAW_DECL_ACOSF | 291 | # if HAVE_RAW_DECL_ACOSF |
| 293 | _GL_WARN_ON_USE (acosf, "acosf is unportable - " | 292 | _GL_WARN_ON_USE (acosf, "acosf is unportable - " |
| 294 | "use gnulib module acosf for portability"); | 293 | "use gnulib module acosf for portability"); |
| @@ -305,7 +304,6 @@ _GL_CXXALIAS_SYS (acosl, long double, (long double x)); | |||
| 305 | _GL_CXXALIASWARN (acosl); | 304 | _GL_CXXALIASWARN (acosl); |
| 306 | # endif | 305 | # endif |
| 307 | #elif defined GNULIB_POSIXCHECK | 306 | #elif defined GNULIB_POSIXCHECK |
| 308 | # undef acosl | ||
| 309 | # if HAVE_RAW_DECL_ACOSL | 307 | # if HAVE_RAW_DECL_ACOSL |
| 310 | _GL_WARN_ON_USE (acosl, "acosl is unportable - " | 308 | _GL_WARN_ON_USE (acosl, "acosl is unportable - " |
| 311 | "use gnulib module acosl for portability"); | 309 | "use gnulib module acosl for portability"); |
| @@ -330,7 +328,6 @@ _GL_CXXALIAS_SYS (asinf, float, (float x)); | |||
| 330 | # endif | 328 | # endif |
| 331 | _GL_CXXALIASWARN (asinf); | 329 | _GL_CXXALIASWARN (asinf); |
| 332 | #elif defined GNULIB_POSIXCHECK | 330 | #elif defined GNULIB_POSIXCHECK |
| 333 | # undef asinf | ||
| 334 | # if HAVE_RAW_DECL_ASINF | 331 | # if HAVE_RAW_DECL_ASINF |
| 335 | _GL_WARN_ON_USE (asinf, "asinf is unportable - " | 332 | _GL_WARN_ON_USE (asinf, "asinf is unportable - " |
| 336 | "use gnulib module asinf for portability"); | 333 | "use gnulib module asinf for portability"); |
| @@ -347,7 +344,6 @@ _GL_CXXALIAS_SYS (asinl, long double, (long double x)); | |||
| 347 | _GL_CXXALIASWARN (asinl); | 344 | _GL_CXXALIASWARN (asinl); |
| 348 | # endif | 345 | # endif |
| 349 | #elif defined GNULIB_POSIXCHECK | 346 | #elif defined GNULIB_POSIXCHECK |
| 350 | # undef asinl | ||
| 351 | # if HAVE_RAW_DECL_ASINL | 347 | # if HAVE_RAW_DECL_ASINL |
| 352 | _GL_WARN_ON_USE (asinl, "asinl is unportable - " | 348 | _GL_WARN_ON_USE (asinl, "asinl is unportable - " |
| 353 | "use gnulib module asinl for portability"); | 349 | "use gnulib module asinl for portability"); |
| @@ -372,7 +368,6 @@ _GL_CXXALIAS_SYS (atanf, float, (float x)); | |||
| 372 | # endif | 368 | # endif |
| 373 | _GL_CXXALIASWARN (atanf); | 369 | _GL_CXXALIASWARN (atanf); |
| 374 | #elif defined GNULIB_POSIXCHECK | 370 | #elif defined GNULIB_POSIXCHECK |
| 375 | # undef atanf | ||
| 376 | # if HAVE_RAW_DECL_ATANF | 371 | # if HAVE_RAW_DECL_ATANF |
| 377 | _GL_WARN_ON_USE (atanf, "atanf is unportable - " | 372 | _GL_WARN_ON_USE (atanf, "atanf is unportable - " |
| 378 | "use gnulib module atanf for portability"); | 373 | "use gnulib module atanf for portability"); |
| @@ -389,7 +384,6 @@ _GL_CXXALIAS_SYS (atanl, long double, (long double x)); | |||
| 389 | _GL_CXXALIASWARN (atanl); | 384 | _GL_CXXALIASWARN (atanl); |
| 390 | # endif | 385 | # endif |
| 391 | #elif defined GNULIB_POSIXCHECK | 386 | #elif defined GNULIB_POSIXCHECK |
| 392 | # undef atanl | ||
| 393 | # if HAVE_RAW_DECL_ATANL | 387 | # if HAVE_RAW_DECL_ATANL |
| 394 | _GL_WARN_ON_USE (atanl, "atanl is unportable - " | 388 | _GL_WARN_ON_USE (atanl, "atanl is unportable - " |
| 395 | "use gnulib module atanl for portability"); | 389 | "use gnulib module atanl for portability"); |
| @@ -414,7 +408,6 @@ _GL_CXXALIAS_SYS (atan2f, float, (float y, float x)); | |||
| 414 | # endif | 408 | # endif |
| 415 | _GL_CXXALIASWARN (atan2f); | 409 | _GL_CXXALIASWARN (atan2f); |
| 416 | #elif defined GNULIB_POSIXCHECK | 410 | #elif defined GNULIB_POSIXCHECK |
| 417 | # undef atan2f | ||
| 418 | # if HAVE_RAW_DECL_ATAN2F | 411 | # if HAVE_RAW_DECL_ATAN2F |
| 419 | _GL_WARN_ON_USE (atan2f, "atan2f is unportable - " | 412 | _GL_WARN_ON_USE (atan2f, "atan2f is unportable - " |
| 420 | "use gnulib module atan2f for portability"); | 413 | "use gnulib module atan2f for portability"); |
| @@ -431,14 +424,13 @@ _GL_WARN_ON_USE (atan2f, "atan2f is unportable - " | |||
| 431 | _GL_FUNCDECL_RPL (cbrtf, float, (float x), ); | 424 | _GL_FUNCDECL_RPL (cbrtf, float, (float x), ); |
| 432 | _GL_CXXALIAS_RPL (cbrtf, float, (float x)); | 425 | _GL_CXXALIAS_RPL (cbrtf, float, (float x)); |
| 433 | # else | 426 | # else |
| 434 | # if !@HAVE_DECL_CBRTF@ | 427 | # if !@HAVE_CBRTF@ |
| 435 | _GL_FUNCDECL_SYS (cbrtf, float, (float x), ); | 428 | _GL_FUNCDECL_SYS (cbrtf, float, (float x), ); |
| 436 | # endif | 429 | # endif |
| 437 | _GL_CXXALIAS_SYS (cbrtf, float, (float x)); | 430 | _GL_CXXALIAS_SYS (cbrtf, float, (float x)); |
| 438 | # endif | 431 | # endif |
| 439 | _GL_CXXALIASWARN (cbrtf); | 432 | _GL_CXXALIASWARN (cbrtf); |
| 440 | #elif defined GNULIB_POSIXCHECK | 433 | #elif defined GNULIB_POSIXCHECK |
| 441 | # undef cbrtf | ||
| 442 | # if HAVE_RAW_DECL_CBRTF | 434 | # if HAVE_RAW_DECL_CBRTF |
| 443 | _GL_WARN_ON_USE (cbrtf, "cbrtf is unportable - " | 435 | _GL_WARN_ON_USE (cbrtf, "cbrtf is unportable - " |
| 444 | "use gnulib module cbrtf for portability"); | 436 | "use gnulib module cbrtf for portability"); |
| @@ -454,7 +446,6 @@ _GL_CXXALIAS_SYS (cbrt, double, (double x)); | |||
| 454 | _GL_CXXALIASWARN1 (cbrt, double, (double x)); | 446 | _GL_CXXALIASWARN1 (cbrt, double, (double x)); |
| 455 | # endif | 447 | # endif |
| 456 | #elif defined GNULIB_POSIXCHECK | 448 | #elif defined GNULIB_POSIXCHECK |
| 457 | # undef cbrt | ||
| 458 | # if HAVE_RAW_DECL_CBRT | 449 | # if HAVE_RAW_DECL_CBRT |
| 459 | _GL_WARN_ON_USE (cbrt, "cbrt is unportable - " | 450 | _GL_WARN_ON_USE (cbrt, "cbrt is unportable - " |
| 460 | "use gnulib module cbrt for portability"); | 451 | "use gnulib module cbrt for portability"); |
| @@ -470,7 +461,7 @@ _GL_WARN_ON_USE (cbrt, "cbrt is unportable - " | |||
| 470 | _GL_FUNCDECL_RPL (cbrtl, long double, (long double x), ); | 461 | _GL_FUNCDECL_RPL (cbrtl, long double, (long double x), ); |
| 471 | _GL_CXXALIAS_RPL (cbrtl, long double, (long double x)); | 462 | _GL_CXXALIAS_RPL (cbrtl, long double, (long double x)); |
| 472 | # else | 463 | # else |
| 473 | # if !@HAVE_DECL_CBRTL@ | 464 | # if !@HAVE_CBRTL@ |
| 474 | _GL_FUNCDECL_SYS (cbrtl, long double, (long double x), ); | 465 | _GL_FUNCDECL_SYS (cbrtl, long double, (long double x), ); |
| 475 | # endif | 466 | # endif |
| 476 | _GL_CXXALIAS_SYS (cbrtl, long double, (long double x)); | 467 | _GL_CXXALIAS_SYS (cbrtl, long double, (long double x)); |
| @@ -479,7 +470,6 @@ _GL_CXXALIAS_SYS (cbrtl, long double, (long double x)); | |||
| 479 | _GL_CXXALIASWARN (cbrtl); | 470 | _GL_CXXALIASWARN (cbrtl); |
| 480 | # endif | 471 | # endif |
| 481 | #elif defined GNULIB_POSIXCHECK | 472 | #elif defined GNULIB_POSIXCHECK |
| 482 | # undef cbrtl | ||
| 483 | # if HAVE_RAW_DECL_CBRTL | 473 | # if HAVE_RAW_DECL_CBRTL |
| 484 | _GL_WARN_ON_USE (cbrtl, "cbrtl is unportable - " | 474 | _GL_WARN_ON_USE (cbrtl, "cbrtl is unportable - " |
| 485 | "use gnulib module cbrtl for portability"); | 475 | "use gnulib module cbrtl for portability"); |
| @@ -504,7 +494,6 @@ _GL_CXXALIAS_SYS (ceilf, float, (float x)); | |||
| 504 | # endif | 494 | # endif |
| 505 | _GL_CXXALIASWARN (ceilf); | 495 | _GL_CXXALIASWARN (ceilf); |
| 506 | #elif defined GNULIB_POSIXCHECK | 496 | #elif defined GNULIB_POSIXCHECK |
| 507 | # undef ceilf | ||
| 508 | # if HAVE_RAW_DECL_CEILF | 497 | # if HAVE_RAW_DECL_CEILF |
| 509 | _GL_WARN_ON_USE (ceilf, "ceilf is unportable - " | 498 | _GL_WARN_ON_USE (ceilf, "ceilf is unportable - " |
| 510 | "use gnulib module ceilf for portability"); | 499 | "use gnulib module ceilf for portability"); |
| @@ -546,7 +535,6 @@ _GL_CXXALIAS_SYS (ceill, long double, (long double x)); | |||
| 546 | _GL_CXXALIASWARN (ceill); | 535 | _GL_CXXALIASWARN (ceill); |
| 547 | # endif | 536 | # endif |
| 548 | #elif defined GNULIB_POSIXCHECK | 537 | #elif defined GNULIB_POSIXCHECK |
| 549 | # undef ceill | ||
| 550 | # if HAVE_RAW_DECL_CEILL | 538 | # if HAVE_RAW_DECL_CEILL |
| 551 | _GL_WARN_ON_USE (ceill, "ceill is unportable - " | 539 | _GL_WARN_ON_USE (ceill, "ceill is unportable - " |
| 552 | "use gnulib module ceill for portability"); | 540 | "use gnulib module ceill for portability"); |
| @@ -555,14 +543,13 @@ _GL_WARN_ON_USE (ceill, "ceill is unportable - " | |||
| 555 | 543 | ||
| 556 | 544 | ||
| 557 | #if @GNULIB_COPYSIGNF@ | 545 | #if @GNULIB_COPYSIGNF@ |
| 558 | # if !@HAVE_DECL_COPYSIGNF@ | 546 | # if !@HAVE_COPYSIGNF@ |
| 559 | # undef copysignf | 547 | # undef copysignf |
| 560 | _GL_FUNCDECL_SYS (copysignf, float, (float x, float y), ); | 548 | _GL_FUNCDECL_SYS (copysignf, float, (float x, float y), ); |
| 561 | # endif | 549 | # endif |
| 562 | _GL_CXXALIAS_SYS (copysignf, float, (float x, float y)); | 550 | _GL_CXXALIAS_SYS (copysignf, float, (float x, float y)); |
| 563 | _GL_CXXALIASWARN (copysignf); | 551 | _GL_CXXALIASWARN (copysignf); |
| 564 | #elif defined GNULIB_POSIXCHECK | 552 | #elif defined GNULIB_POSIXCHECK |
| 565 | # undef copysignf | ||
| 566 | # if HAVE_RAW_DECL_COPYSIGNF | 553 | # if HAVE_RAW_DECL_COPYSIGNF |
| 567 | _GL_WARN_ON_USE (copysignf, "copysignf is unportable - " | 554 | _GL_WARN_ON_USE (copysignf, "copysignf is unportable - " |
| 568 | "use gnulib module copysignf for portability"); | 555 | "use gnulib module copysignf for portability"); |
| @@ -578,7 +565,6 @@ _GL_CXXALIAS_SYS (copysign, double, (double x, double y)); | |||
| 578 | _GL_CXXALIASWARN1 (copysign, double, (double x, double y)); | 565 | _GL_CXXALIASWARN1 (copysign, double, (double x, double y)); |
| 579 | # endif | 566 | # endif |
| 580 | #elif defined GNULIB_POSIXCHECK | 567 | #elif defined GNULIB_POSIXCHECK |
| 581 | # undef copysign | ||
| 582 | # if HAVE_RAW_DECL_COPYSIGN | 568 | # if HAVE_RAW_DECL_COPYSIGN |
| 583 | _GL_WARN_ON_USE (copysign, "copysign is unportable - " | 569 | _GL_WARN_ON_USE (copysign, "copysign is unportable - " |
| 584 | "use gnulib module copysign for portability"); | 570 | "use gnulib module copysign for portability"); |
| @@ -594,7 +580,6 @@ _GL_CXXALIAS_SYS (copysignl, long double, (long double x, long double y)); | |||
| 594 | _GL_CXXALIASWARN (copysignl); | 580 | _GL_CXXALIASWARN (copysignl); |
| 595 | # endif | 581 | # endif |
| 596 | #elif defined GNULIB_POSIXCHECK | 582 | #elif defined GNULIB_POSIXCHECK |
| 597 | # undef copysignl | ||
| 598 | # if HAVE_RAW_DECL_COPYSIGNL | 583 | # if HAVE_RAW_DECL_COPYSIGNL |
| 599 | _GL_WARN_ON_USE (copysign, "copysignl is unportable - " | 584 | _GL_WARN_ON_USE (copysign, "copysignl is unportable - " |
| 600 | "use gnulib module copysignl for portability"); | 585 | "use gnulib module copysignl for portability"); |
| @@ -619,7 +604,6 @@ _GL_CXXALIAS_SYS (cosf, float, (float x)); | |||
| 619 | # endif | 604 | # endif |
| 620 | _GL_CXXALIASWARN (cosf); | 605 | _GL_CXXALIASWARN (cosf); |
| 621 | #elif defined GNULIB_POSIXCHECK | 606 | #elif defined GNULIB_POSIXCHECK |
| 622 | # undef cosf | ||
| 623 | # if HAVE_RAW_DECL_COSF | 607 | # if HAVE_RAW_DECL_COSF |
| 624 | _GL_WARN_ON_USE (cosf, "cosf is unportable - " | 608 | _GL_WARN_ON_USE (cosf, "cosf is unportable - " |
| 625 | "use gnulib module cosf for portability"); | 609 | "use gnulib module cosf for portability"); |
| @@ -636,7 +620,6 @@ _GL_CXXALIAS_SYS (cosl, long double, (long double x)); | |||
| 636 | _GL_CXXALIASWARN (cosl); | 620 | _GL_CXXALIASWARN (cosl); |
| 637 | # endif | 621 | # endif |
| 638 | #elif defined GNULIB_POSIXCHECK | 622 | #elif defined GNULIB_POSIXCHECK |
| 639 | # undef cosl | ||
| 640 | # if HAVE_RAW_DECL_COSL | 623 | # if HAVE_RAW_DECL_COSL |
| 641 | _GL_WARN_ON_USE (cosl, "cosl is unportable - " | 624 | _GL_WARN_ON_USE (cosl, "cosl is unportable - " |
| 642 | "use gnulib module cosl for portability"); | 625 | "use gnulib module cosl for portability"); |
| @@ -661,7 +644,6 @@ _GL_CXXALIAS_SYS (coshf, float, (float x)); | |||
| 661 | # endif | 644 | # endif |
| 662 | _GL_CXXALIASWARN (coshf); | 645 | _GL_CXXALIASWARN (coshf); |
| 663 | #elif defined GNULIB_POSIXCHECK | 646 | #elif defined GNULIB_POSIXCHECK |
| 664 | # undef coshf | ||
| 665 | # if HAVE_RAW_DECL_COSHF | 647 | # if HAVE_RAW_DECL_COSHF |
| 666 | _GL_WARN_ON_USE (coshf, "coshf is unportable - " | 648 | _GL_WARN_ON_USE (coshf, "coshf is unportable - " |
| 667 | "use gnulib module coshf for portability"); | 649 | "use gnulib module coshf for portability"); |
| @@ -686,7 +668,6 @@ _GL_CXXALIAS_SYS (expf, float, (float x)); | |||
| 686 | # endif | 668 | # endif |
| 687 | _GL_CXXALIASWARN (expf); | 669 | _GL_CXXALIASWARN (expf); |
| 688 | #elif defined GNULIB_POSIXCHECK | 670 | #elif defined GNULIB_POSIXCHECK |
| 689 | # undef expf | ||
| 690 | # if HAVE_RAW_DECL_EXPF | 671 | # if HAVE_RAW_DECL_EXPF |
| 691 | _GL_WARN_ON_USE (expf, "expf is unportable - " | 672 | _GL_WARN_ON_USE (expf, "expf is unportable - " |
| 692 | "use gnulib module expf for portability"); | 673 | "use gnulib module expf for portability"); |
| @@ -712,7 +693,6 @@ _GL_CXXALIAS_SYS (expl, long double, (long double x)); | |||
| 712 | _GL_CXXALIASWARN (expl); | 693 | _GL_CXXALIASWARN (expl); |
| 713 | # endif | 694 | # endif |
| 714 | #elif defined GNULIB_POSIXCHECK | 695 | #elif defined GNULIB_POSIXCHECK |
| 715 | # undef expl | ||
| 716 | # if HAVE_RAW_DECL_EXPL | 696 | # if HAVE_RAW_DECL_EXPL |
| 717 | _GL_WARN_ON_USE (expl, "expl is unportable - " | 697 | _GL_WARN_ON_USE (expl, "expl is unportable - " |
| 718 | "use gnulib module expl for portability"); | 698 | "use gnulib module expl for portability"); |
| @@ -721,13 +701,12 @@ _GL_WARN_ON_USE (expl, "expl is unportable - " | |||
| 721 | 701 | ||
| 722 | 702 | ||
| 723 | #if @GNULIB_EXP2F@ | 703 | #if @GNULIB_EXP2F@ |
| 724 | # if !@HAVE_DECL_EXP2F@ | 704 | # if !@HAVE_EXP2F@ |
| 725 | _GL_FUNCDECL_SYS (exp2f, float, (float x), ); | 705 | _GL_FUNCDECL_SYS (exp2f, float, (float x), ); |
| 726 | # endif | 706 | # endif |
| 727 | _GL_CXXALIAS_SYS (exp2f, float, (float x)); | 707 | _GL_CXXALIAS_SYS (exp2f, float, (float x)); |
| 728 | _GL_CXXALIASWARN (exp2f); | 708 | _GL_CXXALIASWARN (exp2f); |
| 729 | #elif defined GNULIB_POSIXCHECK | 709 | #elif defined GNULIB_POSIXCHECK |
| 730 | # undef exp2f | ||
| 731 | # if HAVE_RAW_DECL_EXP2F | 710 | # if HAVE_RAW_DECL_EXP2F |
| 732 | _GL_WARN_ON_USE (exp2f, "exp2f is unportable - " | 711 | _GL_WARN_ON_USE (exp2f, "exp2f is unportable - " |
| 733 | "use gnulib module exp2f for portability"); | 712 | "use gnulib module exp2f for portability"); |
| @@ -743,7 +722,7 @@ _GL_WARN_ON_USE (exp2f, "exp2f is unportable - " | |||
| 743 | _GL_FUNCDECL_RPL (exp2, double, (double x), ); | 722 | _GL_FUNCDECL_RPL (exp2, double, (double x), ); |
| 744 | _GL_CXXALIAS_RPL (exp2, double, (double x)); | 723 | _GL_CXXALIAS_RPL (exp2, double, (double x)); |
| 745 | # else | 724 | # else |
| 746 | # if !@HAVE_DECL_EXP2@ | 725 | # if !@HAVE_EXP2@ |
| 747 | _GL_FUNCDECL_SYS (exp2, double, (double x), ); | 726 | _GL_FUNCDECL_SYS (exp2, double, (double x), ); |
| 748 | # endif | 727 | # endif |
| 749 | _GL_CXXALIAS_SYS (exp2, double, (double x)); | 728 | _GL_CXXALIAS_SYS (exp2, double, (double x)); |
| @@ -752,7 +731,6 @@ _GL_CXXALIAS_SYS (exp2, double, (double x)); | |||
| 752 | _GL_CXXALIASWARN1 (exp2, double, (double x)); | 731 | _GL_CXXALIASWARN1 (exp2, double, (double x)); |
| 753 | # endif | 732 | # endif |
| 754 | #elif defined GNULIB_POSIXCHECK | 733 | #elif defined GNULIB_POSIXCHECK |
| 755 | # undef exp2 | ||
| 756 | # if HAVE_RAW_DECL_EXP2 | 734 | # if HAVE_RAW_DECL_EXP2 |
| 757 | _GL_WARN_ON_USE (exp2, "exp2 is unportable - " | 735 | _GL_WARN_ON_USE (exp2, "exp2 is unportable - " |
| 758 | "use gnulib module exp2 for portability"); | 736 | "use gnulib module exp2 for portability"); |
| @@ -768,7 +746,7 @@ _GL_WARN_ON_USE (exp2, "exp2 is unportable - " | |||
| 768 | _GL_FUNCDECL_RPL (exp2l, long double, (long double x), ); | 746 | _GL_FUNCDECL_RPL (exp2l, long double, (long double x), ); |
| 769 | _GL_CXXALIAS_RPL (exp2l, long double, (long double x)); | 747 | _GL_CXXALIAS_RPL (exp2l, long double, (long double x)); |
| 770 | # else | 748 | # else |
| 771 | # if !@HAVE_DECL_EXP2L@ | 749 | # if !@HAVE_EXP2L@ |
| 772 | # undef exp2l | 750 | # undef exp2l |
| 773 | _GL_FUNCDECL_SYS (exp2l, long double, (long double x), ); | 751 | _GL_FUNCDECL_SYS (exp2l, long double, (long double x), ); |
| 774 | # endif | 752 | # endif |
| @@ -778,7 +756,6 @@ _GL_CXXALIAS_SYS (exp2l, long double, (long double x)); | |||
| 778 | _GL_CXXALIASWARN (exp2l); | 756 | _GL_CXXALIASWARN (exp2l); |
| 779 | # endif | 757 | # endif |
| 780 | #elif defined GNULIB_POSIXCHECK | 758 | #elif defined GNULIB_POSIXCHECK |
| 781 | # undef exp2l | ||
| 782 | # if HAVE_RAW_DECL_EXP2L | 759 | # if HAVE_RAW_DECL_EXP2L |
| 783 | _GL_WARN_ON_USE (exp2l, "exp2l is unportable - " | 760 | _GL_WARN_ON_USE (exp2l, "exp2l is unportable - " |
| 784 | "use gnulib module exp2l for portability"); | 761 | "use gnulib module exp2l for portability"); |
| @@ -802,7 +779,6 @@ _GL_CXXALIAS_SYS (expm1f, float, (float x)); | |||
| 802 | # endif | 779 | # endif |
| 803 | _GL_CXXALIASWARN (expm1f); | 780 | _GL_CXXALIASWARN (expm1f); |
| 804 | #elif defined GNULIB_POSIXCHECK | 781 | #elif defined GNULIB_POSIXCHECK |
| 805 | # undef expm1f | ||
| 806 | # if HAVE_RAW_DECL_EXPM1F | 782 | # if HAVE_RAW_DECL_EXPM1F |
| 807 | _GL_WARN_ON_USE (expm1f, "expm1f is unportable - " | 783 | _GL_WARN_ON_USE (expm1f, "expm1f is unportable - " |
| 808 | "use gnulib module expm1f for portability"); | 784 | "use gnulib module expm1f for portability"); |
| @@ -827,7 +803,6 @@ _GL_CXXALIAS_SYS (expm1, double, (double x)); | |||
| 827 | _GL_CXXALIASWARN1 (expm1, double, (double x)); | 803 | _GL_CXXALIASWARN1 (expm1, double, (double x)); |
| 828 | # endif | 804 | # endif |
| 829 | #elif defined GNULIB_POSIXCHECK | 805 | #elif defined GNULIB_POSIXCHECK |
| 830 | # undef expm1 | ||
| 831 | # if HAVE_RAW_DECL_EXPM1 | 806 | # if HAVE_RAW_DECL_EXPM1 |
| 832 | _GL_WARN_ON_USE (expm1, "expm1 is unportable - " | 807 | _GL_WARN_ON_USE (expm1, "expm1 is unportable - " |
| 833 | "use gnulib module expm1 for portability"); | 808 | "use gnulib module expm1 for portability"); |
| @@ -843,7 +818,7 @@ _GL_WARN_ON_USE (expm1, "expm1 is unportable - " | |||
| 843 | _GL_FUNCDECL_RPL (expm1l, long double, (long double x), ); | 818 | _GL_FUNCDECL_RPL (expm1l, long double, (long double x), ); |
| 844 | _GL_CXXALIAS_RPL (expm1l, long double, (long double x)); | 819 | _GL_CXXALIAS_RPL (expm1l, long double, (long double x)); |
| 845 | # else | 820 | # else |
| 846 | # if !@HAVE_DECL_EXPM1L@ | 821 | # if !@HAVE_EXPM1L@ |
| 847 | # undef expm1l | 822 | # undef expm1l |
| 848 | # if !(defined __cplusplus && defined _AIX) | 823 | # if !(defined __cplusplus && defined _AIX) |
| 849 | _GL_FUNCDECL_SYS (expm1l, long double, (long double x), ); | 824 | _GL_FUNCDECL_SYS (expm1l, long double, (long double x), ); |
| @@ -855,7 +830,6 @@ _GL_CXXALIAS_SYS (expm1l, long double, (long double x)); | |||
| 855 | _GL_CXXALIASWARN (expm1l); | 830 | _GL_CXXALIASWARN (expm1l); |
| 856 | # endif | 831 | # endif |
| 857 | #elif defined GNULIB_POSIXCHECK | 832 | #elif defined GNULIB_POSIXCHECK |
| 858 | # undef expm1l | ||
| 859 | # if HAVE_RAW_DECL_EXPM1L | 833 | # if HAVE_RAW_DECL_EXPM1L |
| 860 | _GL_WARN_ON_USE (expm1l, "expm1l is unportable - " | 834 | _GL_WARN_ON_USE (expm1l, "expm1l is unportable - " |
| 861 | "use gnulib module expm1l for portability"); | 835 | "use gnulib module expm1l for portability"); |
| @@ -873,7 +847,6 @@ _GL_CXXALIAS_SYS (fabsf, float, (float x)); | |||
| 873 | _GL_CXXALIASWARN (fabsf); | 847 | _GL_CXXALIASWARN (fabsf); |
| 874 | # endif | 848 | # endif |
| 875 | #elif defined GNULIB_POSIXCHECK | 849 | #elif defined GNULIB_POSIXCHECK |
| 876 | # undef fabsf | ||
| 877 | # if HAVE_RAW_DECL_FABSF | 850 | # if HAVE_RAW_DECL_FABSF |
| 878 | _GL_WARN_ON_USE (fabsf, "fabsf is unportable - " | 851 | _GL_WARN_ON_USE (fabsf, "fabsf is unportable - " |
| 879 | "use gnulib module fabsf for portability"); | 852 | "use gnulib module fabsf for portability"); |
| @@ -899,7 +872,6 @@ _GL_CXXALIAS_SYS (fabsl, long double, (long double x)); | |||
| 899 | _GL_CXXALIASWARN (fabsl); | 872 | _GL_CXXALIASWARN (fabsl); |
| 900 | # endif | 873 | # endif |
| 901 | #elif defined GNULIB_POSIXCHECK | 874 | #elif defined GNULIB_POSIXCHECK |
| 902 | # undef fabsl | ||
| 903 | # if HAVE_RAW_DECL_FABSL | 875 | # if HAVE_RAW_DECL_FABSL |
| 904 | _GL_WARN_ON_USE (fabsl, "fabsl is unportable - " | 876 | _GL_WARN_ON_USE (fabsl, "fabsl is unportable - " |
| 905 | "use gnulib module fabsl for portability"); | 877 | "use gnulib module fabsl for portability"); |
| @@ -924,7 +896,6 @@ _GL_CXXALIAS_SYS (floorf, float, (float x)); | |||
| 924 | # endif | 896 | # endif |
| 925 | _GL_CXXALIASWARN (floorf); | 897 | _GL_CXXALIASWARN (floorf); |
| 926 | #elif defined GNULIB_POSIXCHECK | 898 | #elif defined GNULIB_POSIXCHECK |
| 927 | # undef floorf | ||
| 928 | # if HAVE_RAW_DECL_FLOORF | 899 | # if HAVE_RAW_DECL_FLOORF |
| 929 | _GL_WARN_ON_USE (floorf, "floorf is unportable - " | 900 | _GL_WARN_ON_USE (floorf, "floorf is unportable - " |
| 930 | "use gnulib module floorf for portability"); | 901 | "use gnulib module floorf for portability"); |
| @@ -966,7 +937,6 @@ _GL_CXXALIAS_SYS (floorl, long double, (long double x)); | |||
| 966 | _GL_CXXALIASWARN (floorl); | 937 | _GL_CXXALIASWARN (floorl); |
| 967 | # endif | 938 | # endif |
| 968 | #elif defined GNULIB_POSIXCHECK | 939 | #elif defined GNULIB_POSIXCHECK |
| 969 | # undef floorl | ||
| 970 | # if HAVE_RAW_DECL_FLOORL | 940 | # if HAVE_RAW_DECL_FLOORL |
| 971 | _GL_WARN_ON_USE (floorl, "floorl is unportable - " | 941 | _GL_WARN_ON_USE (floorl, "floorl is unportable - " |
| 972 | "use gnulib module floorl for portability"); | 942 | "use gnulib module floorl for portability"); |
| @@ -991,7 +961,6 @@ _GL_CXXALIAS_SYS (fmaf, float, (float x, float y, float z)); | |||
| 991 | # endif | 961 | # endif |
| 992 | _GL_CXXALIASWARN (fmaf); | 962 | _GL_CXXALIASWARN (fmaf); |
| 993 | #elif defined GNULIB_POSIXCHECK | 963 | #elif defined GNULIB_POSIXCHECK |
| 994 | # undef fmaf | ||
| 995 | # if HAVE_RAW_DECL_FMAF | 964 | # if HAVE_RAW_DECL_FMAF |
| 996 | _GL_WARN_ON_USE (fmaf, "fmaf is unportable - " | 965 | _GL_WARN_ON_USE (fmaf, "fmaf is unportable - " |
| 997 | "use gnulib module fmaf for portability"); | 966 | "use gnulib module fmaf for portability"); |
| @@ -1017,7 +986,6 @@ _GL_CXXALIAS_SYS (fma, double, (double x, double y, double z)); | |||
| 1017 | _GL_CXXALIASWARN1 (fma, double, (double x, double y, double z)); | 986 | _GL_CXXALIASWARN1 (fma, double, (double x, double y, double z)); |
| 1018 | # endif | 987 | # endif |
| 1019 | #elif defined GNULIB_POSIXCHECK | 988 | #elif defined GNULIB_POSIXCHECK |
| 1020 | # undef fma | ||
| 1021 | # if HAVE_RAW_DECL_FMA | 989 | # if HAVE_RAW_DECL_FMA |
| 1022 | _GL_WARN_ON_USE (fma, "fma is unportable - " | 990 | _GL_WARN_ON_USE (fma, "fma is unportable - " |
| 1023 | "use gnulib module fma for portability"); | 991 | "use gnulib module fma for portability"); |
| @@ -1049,7 +1017,6 @@ _GL_CXXALIAS_SYS (fmal, long double, | |||
| 1049 | _GL_CXXALIASWARN (fmal); | 1017 | _GL_CXXALIASWARN (fmal); |
| 1050 | # endif | 1018 | # endif |
| 1051 | #elif defined GNULIB_POSIXCHECK | 1019 | #elif defined GNULIB_POSIXCHECK |
| 1052 | # undef fmal | ||
| 1053 | # if HAVE_RAW_DECL_FMAL | 1020 | # if HAVE_RAW_DECL_FMAL |
| 1054 | _GL_WARN_ON_USE (fmal, "fmal is unportable - " | 1021 | _GL_WARN_ON_USE (fmal, "fmal is unportable - " |
| 1055 | "use gnulib module fmal for portability"); | 1022 | "use gnulib module fmal for portability"); |
| @@ -1074,7 +1041,6 @@ _GL_CXXALIAS_SYS (fmodf, float, (float x, float y)); | |||
| 1074 | # endif | 1041 | # endif |
| 1075 | _GL_CXXALIASWARN (fmodf); | 1042 | _GL_CXXALIASWARN (fmodf); |
| 1076 | #elif defined GNULIB_POSIXCHECK | 1043 | #elif defined GNULIB_POSIXCHECK |
| 1077 | # undef fmodf | ||
| 1078 | # if HAVE_RAW_DECL_FMODF | 1044 | # if HAVE_RAW_DECL_FMODF |
| 1079 | _GL_WARN_ON_USE (fmodf, "fmodf is unportable - " | 1045 | _GL_WARN_ON_USE (fmodf, "fmodf is unportable - " |
| 1080 | "use gnulib module fmodf for portability"); | 1046 | "use gnulib module fmodf for portability"); |
| @@ -1096,7 +1062,6 @@ _GL_CXXALIAS_SYS (fmod, double, (double x, double y)); | |||
| 1096 | _GL_CXXALIASWARN1 (fmod, double, (double x, double y)); | 1062 | _GL_CXXALIASWARN1 (fmod, double, (double x, double y)); |
| 1097 | # endif | 1063 | # endif |
| 1098 | #elif defined GNULIB_POSIXCHECK | 1064 | #elif defined GNULIB_POSIXCHECK |
| 1099 | # undef fmod | ||
| 1100 | # if HAVE_RAW_DECL_FMOD | 1065 | # if HAVE_RAW_DECL_FMOD |
| 1101 | _GL_WARN_ON_USE (fmod, "fmod has portability problems - " | 1066 | _GL_WARN_ON_USE (fmod, "fmod has portability problems - " |
| 1102 | "use gnulib module fmod for portability"); | 1067 | "use gnulib module fmod for portability"); |
| @@ -1122,7 +1087,6 @@ _GL_CXXALIAS_SYS (fmodl, long double, (long double x, long double y)); | |||
| 1122 | _GL_CXXALIASWARN (fmodl); | 1087 | _GL_CXXALIASWARN (fmodl); |
| 1123 | # endif | 1088 | # endif |
| 1124 | #elif defined GNULIB_POSIXCHECK | 1089 | #elif defined GNULIB_POSIXCHECK |
| 1125 | # undef fmodl | ||
| 1126 | # if HAVE_RAW_DECL_FMODL | 1090 | # if HAVE_RAW_DECL_FMODL |
| 1127 | _GL_WARN_ON_USE (fmodl, "fmodl is unportable - " | 1091 | _GL_WARN_ON_USE (fmodl, "fmodl is unportable - " |
| 1128 | "use gnulib module fmodl for portability"); | 1092 | "use gnulib module fmodl for portability"); |
| @@ -1156,7 +1120,6 @@ _GL_CXXALIAS_SYS (frexpf, float, (float x, int *expptr)); | |||
| 1156 | _GL_CXXALIASWARN (frexpf); | 1120 | _GL_CXXALIASWARN (frexpf); |
| 1157 | # endif | 1121 | # endif |
| 1158 | #elif defined GNULIB_POSIXCHECK | 1122 | #elif defined GNULIB_POSIXCHECK |
| 1159 | # undef frexpf | ||
| 1160 | # if HAVE_RAW_DECL_FREXPF | 1123 | # if HAVE_RAW_DECL_FREXPF |
| 1161 | _GL_WARN_ON_USE (frexpf, "frexpf is unportable - " | 1124 | _GL_WARN_ON_USE (frexpf, "frexpf is unportable - " |
| 1162 | "use gnulib module frexpf for portability"); | 1125 | "use gnulib module frexpf for portability"); |
| @@ -1224,7 +1187,6 @@ _GL_CXXALIASWARN (frexpl); | |||
| 1224 | # endif | 1187 | # endif |
| 1225 | #endif | 1188 | #endif |
| 1226 | #if !@GNULIB_FREXPL@ && defined GNULIB_POSIXCHECK | 1189 | #if !@GNULIB_FREXPL@ && defined GNULIB_POSIXCHECK |
| 1227 | # undef frexpl | ||
| 1228 | # if HAVE_RAW_DECL_FREXPL | 1190 | # if HAVE_RAW_DECL_FREXPL |
| 1229 | _GL_WARN_ON_USE (frexpl, "frexpl is unportable - " | 1191 | _GL_WARN_ON_USE (frexpl, "frexpl is unportable - " |
| 1230 | "use gnulib module frexpl for portability"); | 1192 | "use gnulib module frexpl for portability"); |
| @@ -1251,7 +1213,6 @@ _GL_CXXALIAS_SYS (hypotf, float, (float x, float y)); | |||
| 1251 | _GL_CXXALIASWARN (hypotf); | 1213 | _GL_CXXALIASWARN (hypotf); |
| 1252 | # endif | 1214 | # endif |
| 1253 | #elif defined GNULIB_POSIXCHECK | 1215 | #elif defined GNULIB_POSIXCHECK |
| 1254 | # undef hypotf | ||
| 1255 | # if HAVE_RAW_DECL_HYPOTF | 1216 | # if HAVE_RAW_DECL_HYPOTF |
| 1256 | _GL_WARN_ON_USE (hypotf, "hypotf is unportable - " | 1217 | _GL_WARN_ON_USE (hypotf, "hypotf is unportable - " |
| 1257 | "use gnulib module hypotf for portability"); | 1218 | "use gnulib module hypotf for portability"); |
| @@ -1274,7 +1235,6 @@ _GL_CXXALIAS_SYS (hypot, double, (double x, double y)); | |||
| 1274 | _GL_CXXALIASWARN1 (hypot, double, (double x, double y)); | 1235 | _GL_CXXALIASWARN1 (hypot, double, (double x, double y)); |
| 1275 | # endif | 1236 | # endif |
| 1276 | #elif defined GNULIB_POSIXCHECK | 1237 | #elif defined GNULIB_POSIXCHECK |
| 1277 | # undef hypot | ||
| 1278 | # if HAVE_RAW_DECL_HYPOT | 1238 | # if HAVE_RAW_DECL_HYPOT |
| 1279 | _GL_WARN_ON_USE (hypotf, "hypot has portability problems - " | 1239 | _GL_WARN_ON_USE (hypotf, "hypot has portability problems - " |
| 1280 | "use gnulib module hypot for portability"); | 1240 | "use gnulib module hypot for portability"); |
| @@ -1300,7 +1260,6 @@ _GL_CXXALIAS_SYS (hypotl, long double, (long double x, long double y)); | |||
| 1300 | _GL_CXXALIASWARN (hypotl); | 1260 | _GL_CXXALIASWARN (hypotl); |
| 1301 | # endif | 1261 | # endif |
| 1302 | #elif defined GNULIB_POSIXCHECK | 1262 | #elif defined GNULIB_POSIXCHECK |
| 1303 | # undef hypotl | ||
| 1304 | # if HAVE_RAW_DECL_HYPOTL | 1263 | # if HAVE_RAW_DECL_HYPOTL |
| 1305 | _GL_WARN_ON_USE (hypotl, "hypotl is unportable - " | 1264 | _GL_WARN_ON_USE (hypotl, "hypotl is unportable - " |
| 1306 | "use gnulib module hypotl for portability"); | 1265 | "use gnulib module hypotl for portability"); |
| @@ -1324,7 +1283,6 @@ _GL_CXXALIAS_SYS (ilogbf, int, (float x)); | |||
| 1324 | # endif | 1283 | # endif |
| 1325 | _GL_CXXALIASWARN (ilogbf); | 1284 | _GL_CXXALIASWARN (ilogbf); |
| 1326 | #elif defined GNULIB_POSIXCHECK | 1285 | #elif defined GNULIB_POSIXCHECK |
| 1327 | # undef ilogbf | ||
| 1328 | # if HAVE_RAW_DECL_ILOGBF | 1286 | # if HAVE_RAW_DECL_ILOGBF |
| 1329 | _GL_WARN_ON_USE (ilogbf, "ilogbf is unportable - " | 1287 | _GL_WARN_ON_USE (ilogbf, "ilogbf is unportable - " |
| 1330 | "use gnulib module ilogbf for portability"); | 1288 | "use gnulib module ilogbf for portability"); |
| @@ -1349,7 +1307,6 @@ _GL_CXXALIAS_SYS (ilogb, int, (double x)); | |||
| 1349 | _GL_CXXALIASWARN1 (ilogb, int, (double x)); | 1307 | _GL_CXXALIASWARN1 (ilogb, int, (double x)); |
| 1350 | # endif | 1308 | # endif |
| 1351 | #elif defined GNULIB_POSIXCHECK | 1309 | #elif defined GNULIB_POSIXCHECK |
| 1352 | # undef ilogb | ||
| 1353 | # if HAVE_RAW_DECL_ILOGB | 1310 | # if HAVE_RAW_DECL_ILOGB |
| 1354 | _GL_WARN_ON_USE (ilogb, "ilogb is unportable - " | 1311 | _GL_WARN_ON_USE (ilogb, "ilogb is unportable - " |
| 1355 | "use gnulib module ilogb for portability"); | 1312 | "use gnulib module ilogb for portability"); |
| @@ -1375,7 +1332,6 @@ _GL_CXXALIAS_SYS (ilogbl, int, (long double x)); | |||
| 1375 | _GL_CXXALIASWARN (ilogbl); | 1332 | _GL_CXXALIASWARN (ilogbl); |
| 1376 | # endif | 1333 | # endif |
| 1377 | #elif defined GNULIB_POSIXCHECK | 1334 | #elif defined GNULIB_POSIXCHECK |
| 1378 | # undef ilogbl | ||
| 1379 | # if HAVE_RAW_DECL_ILOGBL | 1335 | # if HAVE_RAW_DECL_ILOGBL |
| 1380 | _GL_WARN_ON_USE (ilogbl, "ilogbl is unportable - " | 1336 | _GL_WARN_ON_USE (ilogbl, "ilogbl is unportable - " |
| 1381 | "use gnulib module ilogbl for portability"); | 1337 | "use gnulib module ilogbl for portability"); |
| @@ -1443,7 +1399,6 @@ _GL_CXXALIAS_SYS (ldexpf, float, (float x, int exp)); | |||
| 1443 | _GL_CXXALIASWARN (ldexpf); | 1399 | _GL_CXXALIASWARN (ldexpf); |
| 1444 | # endif | 1400 | # endif |
| 1445 | #elif defined GNULIB_POSIXCHECK | 1401 | #elif defined GNULIB_POSIXCHECK |
| 1446 | # undef ldexpf | ||
| 1447 | # if HAVE_RAW_DECL_LDEXPF | 1402 | # if HAVE_RAW_DECL_LDEXPF |
| 1448 | _GL_WARN_ON_USE (ldexpf, "ldexpf is unportable - " | 1403 | _GL_WARN_ON_USE (ldexpf, "ldexpf is unportable - " |
| 1449 | "use gnulib module ldexpf for portability"); | 1404 | "use gnulib module ldexpf for portability"); |
| @@ -1497,7 +1452,6 @@ _GL_CXXALIASWARN (ldexpl); | |||
| 1497 | # endif | 1452 | # endif |
| 1498 | #endif | 1453 | #endif |
| 1499 | #if !@GNULIB_LDEXPL@ && defined GNULIB_POSIXCHECK | 1454 | #if !@GNULIB_LDEXPL@ && defined GNULIB_POSIXCHECK |
| 1500 | # undef ldexpl | ||
| 1501 | # if HAVE_RAW_DECL_LDEXPL | 1455 | # if HAVE_RAW_DECL_LDEXPL |
| 1502 | _GL_WARN_ON_USE (ldexpl, "ldexpl is unportable - " | 1456 | _GL_WARN_ON_USE (ldexpl, "ldexpl is unportable - " |
| 1503 | "use gnulib module ldexpl for portability"); | 1457 | "use gnulib module ldexpl for portability"); |
| @@ -1522,7 +1476,6 @@ _GL_CXXALIAS_SYS (logf, float, (float x)); | |||
| 1522 | # endif | 1476 | # endif |
| 1523 | _GL_CXXALIASWARN (logf); | 1477 | _GL_CXXALIASWARN (logf); |
| 1524 | #elif defined GNULIB_POSIXCHECK | 1478 | #elif defined GNULIB_POSIXCHECK |
| 1525 | # undef logf | ||
| 1526 | # if HAVE_RAW_DECL_LOGF | 1479 | # if HAVE_RAW_DECL_LOGF |
| 1527 | _GL_WARN_ON_USE (logf, "logf is unportable - " | 1480 | _GL_WARN_ON_USE (logf, "logf is unportable - " |
| 1528 | "use gnulib module logf for portability"); | 1481 | "use gnulib module logf for portability"); |
| @@ -1544,7 +1497,6 @@ _GL_CXXALIAS_SYS (log, double, (double x)); | |||
| 1544 | _GL_CXXALIASWARN1 (log, double, (double x)); | 1497 | _GL_CXXALIASWARN1 (log, double, (double x)); |
| 1545 | # endif | 1498 | # endif |
| 1546 | #elif defined GNULIB_POSIXCHECK | 1499 | #elif defined GNULIB_POSIXCHECK |
| 1547 | # undef log | ||
| 1548 | # if HAVE_RAW_DECL_LOG | 1500 | # if HAVE_RAW_DECL_LOG |
| 1549 | _GL_WARN_ON_USE (log, "log has portability problems - " | 1501 | _GL_WARN_ON_USE (log, "log has portability problems - " |
| 1550 | "use gnulib module log for portability"); | 1502 | "use gnulib module log for portability"); |
| @@ -1570,7 +1522,6 @@ _GL_CXXALIAS_SYS (logl, long double, (long double x)); | |||
| 1570 | _GL_CXXALIASWARN (logl); | 1522 | _GL_CXXALIASWARN (logl); |
| 1571 | # endif | 1523 | # endif |
| 1572 | #elif defined GNULIB_POSIXCHECK | 1524 | #elif defined GNULIB_POSIXCHECK |
| 1573 | # undef logl | ||
| 1574 | # if HAVE_RAW_DECL_LOGL | 1525 | # if HAVE_RAW_DECL_LOGL |
| 1575 | _GL_WARN_ON_USE (logl, "logl is unportable - " | 1526 | _GL_WARN_ON_USE (logl, "logl is unportable - " |
| 1576 | "use gnulib module logl for portability"); | 1527 | "use gnulib module logl for portability"); |
| @@ -1595,7 +1546,6 @@ _GL_CXXALIAS_SYS (log10f, float, (float x)); | |||
| 1595 | # endif | 1546 | # endif |
| 1596 | _GL_CXXALIASWARN (log10f); | 1547 | _GL_CXXALIASWARN (log10f); |
| 1597 | #elif defined GNULIB_POSIXCHECK | 1548 | #elif defined GNULIB_POSIXCHECK |
| 1598 | # undef log10f | ||
| 1599 | # if HAVE_RAW_DECL_LOG10F | 1549 | # if HAVE_RAW_DECL_LOG10F |
| 1600 | _GL_WARN_ON_USE (log10f, "log10f is unportable - " | 1550 | _GL_WARN_ON_USE (log10f, "log10f is unportable - " |
| 1601 | "use gnulib module log10f for portability"); | 1551 | "use gnulib module log10f for portability"); |
| @@ -1617,7 +1567,6 @@ _GL_CXXALIAS_SYS (log10, double, (double x)); | |||
| 1617 | _GL_CXXALIASWARN1 (log10, double, (double x)); | 1567 | _GL_CXXALIASWARN1 (log10, double, (double x)); |
| 1618 | # endif | 1568 | # endif |
| 1619 | #elif defined GNULIB_POSIXCHECK | 1569 | #elif defined GNULIB_POSIXCHECK |
| 1620 | # undef log10 | ||
| 1621 | # if HAVE_RAW_DECL_LOG10 | 1570 | # if HAVE_RAW_DECL_LOG10 |
| 1622 | _GL_WARN_ON_USE (log10, "log10 has portability problems - " | 1571 | _GL_WARN_ON_USE (log10, "log10 has portability problems - " |
| 1623 | "use gnulib module log10 for portability"); | 1572 | "use gnulib module log10 for portability"); |
| @@ -1643,7 +1592,6 @@ _GL_CXXALIAS_SYS (log10l, long double, (long double x)); | |||
| 1643 | _GL_CXXALIASWARN (log10l); | 1592 | _GL_CXXALIASWARN (log10l); |
| 1644 | # endif | 1593 | # endif |
| 1645 | #elif defined GNULIB_POSIXCHECK | 1594 | #elif defined GNULIB_POSIXCHECK |
| 1646 | # undef log10l | ||
| 1647 | # if HAVE_RAW_DECL_LOG10L | 1595 | # if HAVE_RAW_DECL_LOG10L |
| 1648 | _GL_WARN_ON_USE (log10l, "log10l is unportable - " | 1596 | _GL_WARN_ON_USE (log10l, "log10l is unportable - " |
| 1649 | "use gnulib module log10l for portability"); | 1597 | "use gnulib module log10l for portability"); |
| @@ -1667,7 +1615,6 @@ _GL_CXXALIAS_SYS (log1pf, float, (float x)); | |||
| 1667 | # endif | 1615 | # endif |
| 1668 | _GL_CXXALIASWARN (log1pf); | 1616 | _GL_CXXALIASWARN (log1pf); |
| 1669 | #elif defined GNULIB_POSIXCHECK | 1617 | #elif defined GNULIB_POSIXCHECK |
| 1670 | # undef log1pf | ||
| 1671 | # if HAVE_RAW_DECL_LOG1PF | 1618 | # if HAVE_RAW_DECL_LOG1PF |
| 1672 | _GL_WARN_ON_USE (log1pf, "log1pf is unportable - " | 1619 | _GL_WARN_ON_USE (log1pf, "log1pf is unportable - " |
| 1673 | "use gnulib module log1pf for portability"); | 1620 | "use gnulib module log1pf for portability"); |
| @@ -1692,7 +1639,6 @@ _GL_CXXALIAS_SYS (log1p, double, (double x)); | |||
| 1692 | _GL_CXXALIASWARN1 (log1p, double, (double x)); | 1639 | _GL_CXXALIASWARN1 (log1p, double, (double x)); |
| 1693 | # endif | 1640 | # endif |
| 1694 | #elif defined GNULIB_POSIXCHECK | 1641 | #elif defined GNULIB_POSIXCHECK |
| 1695 | # undef log1p | ||
| 1696 | # if HAVE_RAW_DECL_LOG1P | 1642 | # if HAVE_RAW_DECL_LOG1P |
| 1697 | _GL_WARN_ON_USE (log1p, "log1p has portability problems - " | 1643 | _GL_WARN_ON_USE (log1p, "log1p has portability problems - " |
| 1698 | "use gnulib module log1p for portability"); | 1644 | "use gnulib module log1p for portability"); |
| @@ -1717,7 +1663,6 @@ _GL_CXXALIAS_SYS (log1pl, long double, (long double x)); | |||
| 1717 | _GL_CXXALIASWARN (log1pl); | 1663 | _GL_CXXALIASWARN (log1pl); |
| 1718 | # endif | 1664 | # endif |
| 1719 | #elif defined GNULIB_POSIXCHECK | 1665 | #elif defined GNULIB_POSIXCHECK |
| 1720 | # undef log1pl | ||
| 1721 | # if HAVE_RAW_DECL_LOG1PL | 1666 | # if HAVE_RAW_DECL_LOG1PL |
| 1722 | _GL_WARN_ON_USE (log1pl, "log1pl has portability problems - " | 1667 | _GL_WARN_ON_USE (log1pl, "log1pl has portability problems - " |
| 1723 | "use gnulib module log1pl for portability"); | 1668 | "use gnulib module log1pl for portability"); |
| @@ -1734,7 +1679,7 @@ _GL_WARN_ON_USE (log1pl, "log1pl has portability problems - " | |||
| 1734 | _GL_FUNCDECL_RPL (log2f, float, (float x), ); | 1679 | _GL_FUNCDECL_RPL (log2f, float, (float x), ); |
| 1735 | _GL_CXXALIAS_RPL (log2f, float, (float x)); | 1680 | _GL_CXXALIAS_RPL (log2f, float, (float x)); |
| 1736 | # else | 1681 | # else |
| 1737 | # if !@HAVE_DECL_LOG2F@ | 1682 | # if !@HAVE_LOG2F@ |
| 1738 | # undef log2f | 1683 | # undef log2f |
| 1739 | _GL_FUNCDECL_SYS (log2f, float, (float x), ); | 1684 | _GL_FUNCDECL_SYS (log2f, float, (float x), ); |
| 1740 | # endif | 1685 | # endif |
| @@ -1744,7 +1689,6 @@ _GL_CXXALIAS_SYS (log2f, float, (float x)); | |||
| 1744 | _GL_CXXALIASWARN (log2f); | 1689 | _GL_CXXALIASWARN (log2f); |
| 1745 | # endif | 1690 | # endif |
| 1746 | #elif defined GNULIB_POSIXCHECK | 1691 | #elif defined GNULIB_POSIXCHECK |
| 1747 | # undef log2f | ||
| 1748 | # if HAVE_RAW_DECL_LOG2F | 1692 | # if HAVE_RAW_DECL_LOG2F |
| 1749 | _GL_WARN_ON_USE (log2f, "log2f is unportable - " | 1693 | _GL_WARN_ON_USE (log2f, "log2f is unportable - " |
| 1750 | "use gnulib module log2f for portability"); | 1694 | "use gnulib module log2f for portability"); |
| @@ -1760,7 +1704,7 @@ _GL_WARN_ON_USE (log2f, "log2f is unportable - " | |||
| 1760 | _GL_FUNCDECL_RPL (log2, double, (double x), ); | 1704 | _GL_FUNCDECL_RPL (log2, double, (double x), ); |
| 1761 | _GL_CXXALIAS_RPL (log2, double, (double x)); | 1705 | _GL_CXXALIAS_RPL (log2, double, (double x)); |
| 1762 | # else | 1706 | # else |
| 1763 | # if !@HAVE_DECL_LOG2@ | 1707 | # if !@HAVE_LOG2@ |
| 1764 | # undef log2 | 1708 | # undef log2 |
| 1765 | _GL_FUNCDECL_SYS (log2, double, (double x), ); | 1709 | _GL_FUNCDECL_SYS (log2, double, (double x), ); |
| 1766 | # endif | 1710 | # endif |
| @@ -1770,7 +1714,6 @@ _GL_CXXALIAS_SYS (log2, double, (double x)); | |||
| 1770 | _GL_CXXALIASWARN1 (log2, double, (double x)); | 1714 | _GL_CXXALIASWARN1 (log2, double, (double x)); |
| 1771 | # endif | 1715 | # endif |
| 1772 | #elif defined GNULIB_POSIXCHECK | 1716 | #elif defined GNULIB_POSIXCHECK |
| 1773 | # undef log2 | ||
| 1774 | # if HAVE_RAW_DECL_LOG2 | 1717 | # if HAVE_RAW_DECL_LOG2 |
| 1775 | _GL_WARN_ON_USE (log2, "log2 is unportable - " | 1718 | _GL_WARN_ON_USE (log2, "log2 is unportable - " |
| 1776 | "use gnulib module log2 for portability"); | 1719 | "use gnulib module log2 for portability"); |
| @@ -1786,7 +1729,7 @@ _GL_WARN_ON_USE (log2, "log2 is unportable - " | |||
| 1786 | _GL_FUNCDECL_RPL (log2l, long double, (long double x), ); | 1729 | _GL_FUNCDECL_RPL (log2l, long double, (long double x), ); |
| 1787 | _GL_CXXALIAS_RPL (log2l, long double, (long double x)); | 1730 | _GL_CXXALIAS_RPL (log2l, long double, (long double x)); |
| 1788 | # else | 1731 | # else |
| 1789 | # if !@HAVE_DECL_LOG2L@ | 1732 | # if !@HAVE_LOG2L@ |
| 1790 | _GL_FUNCDECL_SYS (log2l, long double, (long double x), ); | 1733 | _GL_FUNCDECL_SYS (log2l, long double, (long double x), ); |
| 1791 | # endif | 1734 | # endif |
| 1792 | _GL_CXXALIAS_SYS (log2l, long double, (long double x)); | 1735 | _GL_CXXALIAS_SYS (log2l, long double, (long double x)); |
| @@ -1795,7 +1738,6 @@ _GL_CXXALIAS_SYS (log2l, long double, (long double x)); | |||
| 1795 | _GL_CXXALIASWARN (log2l); | 1738 | _GL_CXXALIASWARN (log2l); |
| 1796 | # endif | 1739 | # endif |
| 1797 | #elif defined GNULIB_POSIXCHECK | 1740 | #elif defined GNULIB_POSIXCHECK |
| 1798 | # undef log2l | ||
| 1799 | # if HAVE_RAW_DECL_LOG2L | 1741 | # if HAVE_RAW_DECL_LOG2L |
| 1800 | _GL_WARN_ON_USE (log2l, "log2l is unportable - " | 1742 | _GL_WARN_ON_USE (log2l, "log2l is unportable - " |
| 1801 | "use gnulib module log2l for portability"); | 1743 | "use gnulib module log2l for portability"); |
| @@ -1819,7 +1761,6 @@ _GL_CXXALIAS_SYS (logbf, float, (float x)); | |||
| 1819 | # endif | 1761 | # endif |
| 1820 | _GL_CXXALIASWARN (logbf); | 1762 | _GL_CXXALIASWARN (logbf); |
| 1821 | #elif defined GNULIB_POSIXCHECK | 1763 | #elif defined GNULIB_POSIXCHECK |
| 1822 | # undef logbf | ||
| 1823 | # if HAVE_RAW_DECL_LOGBF | 1764 | # if HAVE_RAW_DECL_LOGBF |
| 1824 | _GL_WARN_ON_USE (logbf, "logbf is unportable - " | 1765 | _GL_WARN_ON_USE (logbf, "logbf is unportable - " |
| 1825 | "use gnulib module logbf for portability"); | 1766 | "use gnulib module logbf for portability"); |
| @@ -1844,7 +1785,6 @@ _GL_CXXALIAS_SYS (logb, double, (double x)); | |||
| 1844 | _GL_CXXALIASWARN1 (logb, double, (double x)); | 1785 | _GL_CXXALIASWARN1 (logb, double, (double x)); |
| 1845 | # endif | 1786 | # endif |
| 1846 | #elif defined GNULIB_POSIXCHECK | 1787 | #elif defined GNULIB_POSIXCHECK |
| 1847 | # undef logb | ||
| 1848 | # if HAVE_RAW_DECL_LOGB | 1788 | # if HAVE_RAW_DECL_LOGB |
| 1849 | _GL_WARN_ON_USE (logb, "logb is unportable - " | 1789 | _GL_WARN_ON_USE (logb, "logb is unportable - " |
| 1850 | "use gnulib module logb for portability"); | 1790 | "use gnulib module logb for portability"); |
| @@ -1869,7 +1809,6 @@ _GL_CXXALIAS_SYS (logbl, long double, (long double x)); | |||
| 1869 | _GL_CXXALIASWARN (logbl); | 1809 | _GL_CXXALIASWARN (logbl); |
| 1870 | # endif | 1810 | # endif |
| 1871 | #elif defined GNULIB_POSIXCHECK | 1811 | #elif defined GNULIB_POSIXCHECK |
| 1872 | # undef logbl | ||
| 1873 | # if HAVE_RAW_DECL_LOGBL | 1812 | # if HAVE_RAW_DECL_LOGBL |
| 1874 | _GL_WARN_ON_USE (logbl, "logbl is unportable - " | 1813 | _GL_WARN_ON_USE (logbl, "logbl is unportable - " |
| 1875 | "use gnulib module logbl for portability"); | 1814 | "use gnulib module logbl for portability"); |
| @@ -1886,7 +1825,6 @@ _GL_CXXALIAS_SYS (logp1f, float, (float x)); | |||
| 1886 | _GL_CXXALIASWARN1 (logp1f, float, (float x)); | 1825 | _GL_CXXALIASWARN1 (logp1f, float, (float x)); |
| 1887 | # endif | 1826 | # endif |
| 1888 | #elif defined GNULIB_POSIXCHECK | 1827 | #elif defined GNULIB_POSIXCHECK |
| 1889 | # undef logp1f | ||
| 1890 | # if HAVE_RAW_DECL_LOGP1F | 1828 | # if HAVE_RAW_DECL_LOGP1F |
| 1891 | _GL_WARN_ON_USE (logp1f, "logp1f is unportable - " | 1829 | _GL_WARN_ON_USE (logp1f, "logp1f is unportable - " |
| 1892 | "use gnulib module logp1f for portability"); | 1830 | "use gnulib module logp1f for portability"); |
| @@ -1902,7 +1840,6 @@ _GL_CXXALIAS_SYS (logp1, double, (double x)); | |||
| 1902 | _GL_CXXALIASWARN1 (logp1, double, (double x)); | 1840 | _GL_CXXALIASWARN1 (logp1, double, (double x)); |
| 1903 | # endif | 1841 | # endif |
| 1904 | #elif defined GNULIB_POSIXCHECK | 1842 | #elif defined GNULIB_POSIXCHECK |
| 1905 | # undef logp1 | ||
| 1906 | # if HAVE_RAW_DECL_LOGP1 | 1843 | # if HAVE_RAW_DECL_LOGP1 |
| 1907 | _GL_WARN_ON_USE (logp1, "logp1 is unportable - " | 1844 | _GL_WARN_ON_USE (logp1, "logp1 is unportable - " |
| 1908 | "use gnulib module logp1 for portability"); | 1845 | "use gnulib module logp1 for portability"); |
| @@ -1918,7 +1855,6 @@ _GL_CXXALIAS_SYS (logp1l, long double, (long double x)); | |||
| 1918 | _GL_CXXALIASWARN1 (logp1l, long double, (long double x)); | 1855 | _GL_CXXALIASWARN1 (logp1l, long double, (long double x)); |
| 1919 | # endif | 1856 | # endif |
| 1920 | #elif defined GNULIB_POSIXCHECK | 1857 | #elif defined GNULIB_POSIXCHECK |
| 1921 | # undef logp1l | ||
| 1922 | # if HAVE_RAW_DECL_LOGP1L | 1858 | # if HAVE_RAW_DECL_LOGP1L |
| 1923 | _GL_WARN_ON_USE (logp1l, "logp1l is unportable - " | 1859 | _GL_WARN_ON_USE (logp1l, "logp1l is unportable - " |
| 1924 | "use gnulib module logp1l for portability"); | 1860 | "use gnulib module logp1l for portability"); |
| @@ -1943,7 +1879,6 @@ _GL_CXXALIAS_SYS (modff, float, (float x, float *iptr)); | |||
| 1943 | # endif | 1879 | # endif |
| 1944 | _GL_CXXALIASWARN (modff); | 1880 | _GL_CXXALIASWARN (modff); |
| 1945 | #elif defined GNULIB_POSIXCHECK | 1881 | #elif defined GNULIB_POSIXCHECK |
| 1946 | # undef modff | ||
| 1947 | # if HAVE_RAW_DECL_MODFF | 1882 | # if HAVE_RAW_DECL_MODFF |
| 1948 | _GL_WARN_ON_USE (modff, "modff is unportable - " | 1883 | _GL_WARN_ON_USE (modff, "modff is unportable - " |
| 1949 | "use gnulib module modff for portability"); | 1884 | "use gnulib module modff for portability"); |
| @@ -1966,7 +1901,6 @@ _GL_CXXALIAS_SYS (modf, double, (double x, double *iptr)); | |||
| 1966 | _GL_CXXALIASWARN1 (modf, double, (double x, double *iptr)); | 1901 | _GL_CXXALIASWARN1 (modf, double, (double x, double *iptr)); |
| 1967 | # endif | 1902 | # endif |
| 1968 | #elif defined GNULIB_POSIXCHECK | 1903 | #elif defined GNULIB_POSIXCHECK |
| 1969 | # undef modf | ||
| 1970 | # if HAVE_RAW_DECL_MODF | 1904 | # if HAVE_RAW_DECL_MODF |
| 1971 | _GL_WARN_ON_USE (modf, "modf has portability problems - " | 1905 | _GL_WARN_ON_USE (modf, "modf has portability problems - " |
| 1972 | "use gnulib module modf for portability"); | 1906 | "use gnulib module modf for portability"); |
| @@ -1994,7 +1928,6 @@ _GL_CXXALIAS_SYS (modfl, long double, (long double x, long double *iptr)); | |||
| 1994 | _GL_CXXALIASWARN (modfl); | 1928 | _GL_CXXALIASWARN (modfl); |
| 1995 | # endif | 1929 | # endif |
| 1996 | #elif defined GNULIB_POSIXCHECK | 1930 | #elif defined GNULIB_POSIXCHECK |
| 1997 | # undef modfl | ||
| 1998 | # if HAVE_RAW_DECL_MODFL | 1931 | # if HAVE_RAW_DECL_MODFL |
| 1999 | _GL_WARN_ON_USE (modfl, "modfl is unportable - " | 1932 | _GL_WARN_ON_USE (modfl, "modfl is unportable - " |
| 2000 | "use gnulib module modfl for portability"); | 1933 | "use gnulib module modfl for portability"); |
| @@ -2010,7 +1943,6 @@ _GL_FUNCDECL_SYS (powf, float, (float x, float y), ); | |||
| 2010 | _GL_CXXALIAS_SYS (powf, float, (float x, float y)); | 1943 | _GL_CXXALIAS_SYS (powf, float, (float x, float y)); |
| 2011 | _GL_CXXALIASWARN (powf); | 1944 | _GL_CXXALIASWARN (powf); |
| 2012 | #elif defined GNULIB_POSIXCHECK | 1945 | #elif defined GNULIB_POSIXCHECK |
| 2013 | # undef powf | ||
| 2014 | # if HAVE_RAW_DECL_POWF | 1946 | # if HAVE_RAW_DECL_POWF |
| 2015 | _GL_WARN_ON_USE (powf, "powf is unportable - " | 1947 | _GL_WARN_ON_USE (powf, "powf is unportable - " |
| 2016 | "use gnulib module powf for portability"); | 1948 | "use gnulib module powf for portability"); |
| @@ -2034,7 +1966,6 @@ _GL_CXXALIAS_SYS (remainderf, float, (float x, float y)); | |||
| 2034 | # endif | 1966 | # endif |
| 2035 | _GL_CXXALIASWARN (remainderf); | 1967 | _GL_CXXALIASWARN (remainderf); |
| 2036 | #elif defined GNULIB_POSIXCHECK | 1968 | #elif defined GNULIB_POSIXCHECK |
| 2037 | # undef remainderf | ||
| 2038 | # if HAVE_RAW_DECL_REMAINDERF | 1969 | # if HAVE_RAW_DECL_REMAINDERF |
| 2039 | _GL_WARN_ON_USE (remainderf, "remainderf is unportable - " | 1970 | _GL_WARN_ON_USE (remainderf, "remainderf is unportable - " |
| 2040 | "use gnulib module remainderf for portability"); | 1971 | "use gnulib module remainderf for portability"); |
| @@ -2050,7 +1981,7 @@ _GL_WARN_ON_USE (remainderf, "remainderf is unportable - " | |||
| 2050 | _GL_FUNCDECL_RPL (remainder, double, (double x, double y), ); | 1981 | _GL_FUNCDECL_RPL (remainder, double, (double x, double y), ); |
| 2051 | _GL_CXXALIAS_RPL (remainder, double, (double x, double y)); | 1982 | _GL_CXXALIAS_RPL (remainder, double, (double x, double y)); |
| 2052 | # else | 1983 | # else |
| 2053 | # if !@HAVE_REMAINDER@ || !@HAVE_DECL_REMAINDER@ | 1984 | # if !@HAVE_REMAINDER@ |
| 2054 | _GL_FUNCDECL_SYS (remainder, double, (double x, double y), ); | 1985 | _GL_FUNCDECL_SYS (remainder, double, (double x, double y), ); |
| 2055 | # endif | 1986 | # endif |
| 2056 | _GL_CXXALIAS_SYS (remainder, double, (double x, double y)); | 1987 | _GL_CXXALIAS_SYS (remainder, double, (double x, double y)); |
| @@ -2059,7 +1990,6 @@ _GL_CXXALIAS_SYS (remainder, double, (double x, double y)); | |||
| 2059 | _GL_CXXALIASWARN1 (remainder, double, (double x, double y)); | 1990 | _GL_CXXALIASWARN1 (remainder, double, (double x, double y)); |
| 2060 | # endif | 1991 | # endif |
| 2061 | #elif defined GNULIB_POSIXCHECK | 1992 | #elif defined GNULIB_POSIXCHECK |
| 2062 | # undef remainder | ||
| 2063 | # if HAVE_RAW_DECL_REMAINDER | 1993 | # if HAVE_RAW_DECL_REMAINDER |
| 2064 | _GL_WARN_ON_USE (remainder, "remainder is unportable - " | 1994 | _GL_WARN_ON_USE (remainder, "remainder is unportable - " |
| 2065 | "use gnulib module remainder for portability"); | 1995 | "use gnulib module remainder for portability"); |
| @@ -2075,7 +2005,7 @@ _GL_WARN_ON_USE (remainder, "remainder is unportable - " | |||
| 2075 | _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), ); |
| 2076 | _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)); |
| 2077 | # else | 2007 | # else |
| 2078 | # if !@HAVE_DECL_REMAINDERL@ | 2008 | # if !@HAVE_REMAINDERL@ |
| 2079 | # undef remainderl | 2009 | # undef remainderl |
| 2080 | # if !(defined __cplusplus && defined _AIX) | 2010 | # if !(defined __cplusplus && defined _AIX) |
| 2081 | _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), ); |
| @@ -2087,7 +2017,6 @@ _GL_CXXALIAS_SYS (remainderl, long double, (long double x, long double y)); | |||
| 2087 | _GL_CXXALIASWARN (remainderl); | 2017 | _GL_CXXALIASWARN (remainderl); |
| 2088 | # endif | 2018 | # endif |
| 2089 | #elif defined GNULIB_POSIXCHECK | 2019 | #elif defined GNULIB_POSIXCHECK |
| 2090 | # undef remainderl | ||
| 2091 | # if HAVE_RAW_DECL_REMAINDERL | 2020 | # if HAVE_RAW_DECL_REMAINDERL |
| 2092 | _GL_WARN_ON_USE (remainderl, "remainderl is unportable - " | 2021 | _GL_WARN_ON_USE (remainderl, "remainderl is unportable - " |
| 2093 | "use gnulib module remainderl for portability"); | 2022 | "use gnulib module remainderl for portability"); |
| @@ -2096,13 +2025,12 @@ _GL_WARN_ON_USE (remainderl, "remainderl is unportable - " | |||
| 2096 | 2025 | ||
| 2097 | 2026 | ||
| 2098 | #if @GNULIB_RINTF@ | 2027 | #if @GNULIB_RINTF@ |
| 2099 | # if !@HAVE_DECL_RINTF@ | 2028 | # if !@HAVE_RINTF@ |
| 2100 | _GL_FUNCDECL_SYS (rintf, float, (float x), ); | 2029 | _GL_FUNCDECL_SYS (rintf, float, (float x), ); |
| 2101 | # endif | 2030 | # endif |
| 2102 | _GL_CXXALIAS_SYS (rintf, float, (float x)); | 2031 | _GL_CXXALIAS_SYS (rintf, float, (float x)); |
| 2103 | _GL_CXXALIASWARN (rintf); | 2032 | _GL_CXXALIASWARN (rintf); |
| 2104 | #elif defined GNULIB_POSIXCHECK | 2033 | #elif defined GNULIB_POSIXCHECK |
| 2105 | # undef rintf | ||
| 2106 | # if HAVE_RAW_DECL_RINTF | 2034 | # if HAVE_RAW_DECL_RINTF |
| 2107 | _GL_WARN_ON_USE (rintf, "rintf is unportable - " | 2035 | _GL_WARN_ON_USE (rintf, "rintf is unportable - " |
| 2108 | "use gnulib module rintf for portability"); | 2036 | "use gnulib module rintf for portability"); |
| @@ -2118,7 +2046,6 @@ _GL_CXXALIAS_SYS (rint, double, (double x)); | |||
| 2118 | _GL_CXXALIASWARN1 (rint, double, (double x)); | 2046 | _GL_CXXALIASWARN1 (rint, double, (double x)); |
| 2119 | # endif | 2047 | # endif |
| 2120 | #elif defined GNULIB_POSIXCHECK | 2048 | #elif defined GNULIB_POSIXCHECK |
| 2121 | # undef rint | ||
| 2122 | # if HAVE_RAW_DECL_RINT | 2049 | # if HAVE_RAW_DECL_RINT |
| 2123 | _GL_WARN_ON_USE (rint, "rint is unportable - " | 2050 | _GL_WARN_ON_USE (rint, "rint is unportable - " |
| 2124 | "use gnulib module rint for portability"); | 2051 | "use gnulib module rint for portability"); |
| @@ -2143,7 +2070,6 @@ _GL_CXXALIAS_SYS (rintl, long double, (long double x)); | |||
| 2143 | _GL_CXXALIASWARN (rintl); | 2070 | _GL_CXXALIASWARN (rintl); |
| 2144 | # endif | 2071 | # endif |
| 2145 | #elif defined GNULIB_POSIXCHECK | 2072 | #elif defined GNULIB_POSIXCHECK |
| 2146 | # undef rintl | ||
| 2147 | # if HAVE_RAW_DECL_RINTL | 2073 | # if HAVE_RAW_DECL_RINTL |
| 2148 | _GL_WARN_ON_USE (rintl, "rintl is unportable - " | 2074 | _GL_WARN_ON_USE (rintl, "rintl is unportable - " |
| 2149 | "use gnulib module rintl for portability"); | 2075 | "use gnulib module rintl for portability"); |
| @@ -2160,14 +2086,13 @@ _GL_WARN_ON_USE (rintl, "rintl is unportable - " | |||
| 2160 | _GL_FUNCDECL_RPL (roundf, float, (float x), ); | 2086 | _GL_FUNCDECL_RPL (roundf, float, (float x), ); |
| 2161 | _GL_CXXALIAS_RPL (roundf, float, (float x)); | 2087 | _GL_CXXALIAS_RPL (roundf, float, (float x)); |
| 2162 | # else | 2088 | # else |
| 2163 | # if !@HAVE_DECL_ROUNDF@ | 2089 | # if !@HAVE_ROUNDF@ |
| 2164 | _GL_FUNCDECL_SYS (roundf, float, (float x), ); | 2090 | _GL_FUNCDECL_SYS (roundf, float, (float x), ); |
| 2165 | # endif | 2091 | # endif |
| 2166 | _GL_CXXALIAS_SYS (roundf, float, (float x)); | 2092 | _GL_CXXALIAS_SYS (roundf, float, (float x)); |
| 2167 | # endif | 2093 | # endif |
| 2168 | _GL_CXXALIASWARN (roundf); | 2094 | _GL_CXXALIASWARN (roundf); |
| 2169 | #elif defined GNULIB_POSIXCHECK | 2095 | #elif defined GNULIB_POSIXCHECK |
| 2170 | # undef roundf | ||
| 2171 | # if HAVE_RAW_DECL_ROUNDF | 2096 | # if HAVE_RAW_DECL_ROUNDF |
| 2172 | _GL_WARN_ON_USE (roundf, "roundf is unportable - " | 2097 | _GL_WARN_ON_USE (roundf, "roundf is unportable - " |
| 2173 | "use gnulib module roundf for portability"); | 2098 | "use gnulib module roundf for portability"); |
| @@ -2183,7 +2108,7 @@ _GL_WARN_ON_USE (roundf, "roundf is unportable - " | |||
| 2183 | _GL_FUNCDECL_RPL (round, double, (double x), ); | 2108 | _GL_FUNCDECL_RPL (round, double, (double x), ); |
| 2184 | _GL_CXXALIAS_RPL (round, double, (double x)); | 2109 | _GL_CXXALIAS_RPL (round, double, (double x)); |
| 2185 | # else | 2110 | # else |
| 2186 | # if !@HAVE_DECL_ROUND@ | 2111 | # if !@HAVE_ROUND@ |
| 2187 | _GL_FUNCDECL_SYS (round, double, (double x), ); | 2112 | _GL_FUNCDECL_SYS (round, double, (double x), ); |
| 2188 | # endif | 2113 | # endif |
| 2189 | _GL_CXXALIAS_SYS (round, double, (double x)); | 2114 | _GL_CXXALIAS_SYS (round, double, (double x)); |
| @@ -2192,7 +2117,6 @@ _GL_CXXALIAS_SYS (round, double, (double x)); | |||
| 2192 | _GL_CXXALIASWARN1 (round, double, (double x)); | 2117 | _GL_CXXALIASWARN1 (round, double, (double x)); |
| 2193 | # endif | 2118 | # endif |
| 2194 | #elif defined GNULIB_POSIXCHECK | 2119 | #elif defined GNULIB_POSIXCHECK |
| 2195 | # undef round | ||
| 2196 | # if HAVE_RAW_DECL_ROUND | 2120 | # if HAVE_RAW_DECL_ROUND |
| 2197 | _GL_WARN_ON_USE (round, "round is unportable - " | 2121 | _GL_WARN_ON_USE (round, "round is unportable - " |
| 2198 | "use gnulib module round for portability"); | 2122 | "use gnulib module round for portability"); |
| @@ -2208,7 +2132,7 @@ _GL_WARN_ON_USE (round, "round is unportable - " | |||
| 2208 | _GL_FUNCDECL_RPL (roundl, long double, (long double x), ); | 2132 | _GL_FUNCDECL_RPL (roundl, long double, (long double x), ); |
| 2209 | _GL_CXXALIAS_RPL (roundl, long double, (long double x)); | 2133 | _GL_CXXALIAS_RPL (roundl, long double, (long double x)); |
| 2210 | # else | 2134 | # else |
| 2211 | # if !@HAVE_DECL_ROUNDL@ | 2135 | # if !@HAVE_ROUNDL@ |
| 2212 | # undef roundl | 2136 | # undef roundl |
| 2213 | # if !(defined __cplusplus && defined _AIX) | 2137 | # if !(defined __cplusplus && defined _AIX) |
| 2214 | _GL_FUNCDECL_SYS (roundl, long double, (long double x), ); | 2138 | _GL_FUNCDECL_SYS (roundl, long double, (long double x), ); |
| @@ -2220,7 +2144,6 @@ _GL_CXXALIAS_SYS (roundl, long double, (long double x)); | |||
| 2220 | _GL_CXXALIASWARN (roundl); | 2144 | _GL_CXXALIASWARN (roundl); |
| 2221 | # endif | 2145 | # endif |
| 2222 | #elif defined GNULIB_POSIXCHECK | 2146 | #elif defined GNULIB_POSIXCHECK |
| 2223 | # undef roundl | ||
| 2224 | # if HAVE_RAW_DECL_ROUNDL | 2147 | # if HAVE_RAW_DECL_ROUNDL |
| 2225 | _GL_WARN_ON_USE (roundl, "roundl is unportable - " | 2148 | _GL_WARN_ON_USE (roundl, "roundl is unportable - " |
| 2226 | "use gnulib module roundl for portability"); | 2149 | "use gnulib module roundl for portability"); |
| @@ -2245,7 +2168,6 @@ _GL_CXXALIAS_SYS (sinf, float, (float x)); | |||
| 2245 | # endif | 2168 | # endif |
| 2246 | _GL_CXXALIASWARN (sinf); | 2169 | _GL_CXXALIASWARN (sinf); |
| 2247 | #elif defined GNULIB_POSIXCHECK | 2170 | #elif defined GNULIB_POSIXCHECK |
| 2248 | # undef sinf | ||
| 2249 | # if HAVE_RAW_DECL_SINF | 2171 | # if HAVE_RAW_DECL_SINF |
| 2250 | _GL_WARN_ON_USE (sinf, "sinf is unportable - " | 2172 | _GL_WARN_ON_USE (sinf, "sinf is unportable - " |
| 2251 | "use gnulib module sinf for portability"); | 2173 | "use gnulib module sinf for portability"); |
| @@ -2271,7 +2193,6 @@ _GL_CXXALIAS_SYS (sinl, long double, (long double x)); | |||
| 2271 | _GL_CXXALIASWARN (sinl); | 2193 | _GL_CXXALIASWARN (sinl); |
| 2272 | # endif | 2194 | # endif |
| 2273 | #elif defined GNULIB_POSIXCHECK | 2195 | #elif defined GNULIB_POSIXCHECK |
| 2274 | # undef sinl | ||
| 2275 | # if HAVE_RAW_DECL_SINL | 2196 | # if HAVE_RAW_DECL_SINL |
| 2276 | _GL_WARN_ON_USE (sinl, "sinl is unportable - " | 2197 | _GL_WARN_ON_USE (sinl, "sinl is unportable - " |
| 2277 | "use gnulib module sinl for portability"); | 2198 | "use gnulib module sinl for portability"); |
| @@ -2296,7 +2217,6 @@ _GL_CXXALIAS_SYS (sinhf, float, (float x)); | |||
| 2296 | # endif | 2217 | # endif |
| 2297 | _GL_CXXALIASWARN (sinhf); | 2218 | _GL_CXXALIASWARN (sinhf); |
| 2298 | #elif defined GNULIB_POSIXCHECK | 2219 | #elif defined GNULIB_POSIXCHECK |
| 2299 | # undef sinhf | ||
| 2300 | # if HAVE_RAW_DECL_SINHF | 2220 | # if HAVE_RAW_DECL_SINHF |
| 2301 | _GL_WARN_ON_USE (sinhf, "sinhf is unportable - " | 2221 | _GL_WARN_ON_USE (sinhf, "sinhf is unportable - " |
| 2302 | "use gnulib module sinhf for portability"); | 2222 | "use gnulib module sinhf for portability"); |
| @@ -2321,7 +2241,6 @@ _GL_CXXALIAS_SYS (sqrtf, float, (float x)); | |||
| 2321 | # endif | 2241 | # endif |
| 2322 | _GL_CXXALIASWARN (sqrtf); | 2242 | _GL_CXXALIASWARN (sqrtf); |
| 2323 | #elif defined GNULIB_POSIXCHECK | 2243 | #elif defined GNULIB_POSIXCHECK |
| 2324 | # undef sqrtf | ||
| 2325 | # if HAVE_RAW_DECL_SQRTF | 2244 | # if HAVE_RAW_DECL_SQRTF |
| 2326 | _GL_WARN_ON_USE (sqrtf, "sqrtf is unportable - " | 2245 | _GL_WARN_ON_USE (sqrtf, "sqrtf is unportable - " |
| 2327 | "use gnulib module sqrtf for portability"); | 2246 | "use gnulib module sqrtf for portability"); |
| @@ -2347,7 +2266,6 @@ _GL_CXXALIAS_SYS (sqrtl, long double, (long double x)); | |||
| 2347 | _GL_CXXALIASWARN (sqrtl); | 2266 | _GL_CXXALIASWARN (sqrtl); |
| 2348 | # endif | 2267 | # endif |
| 2349 | #elif defined GNULIB_POSIXCHECK | 2268 | #elif defined GNULIB_POSIXCHECK |
| 2350 | # undef sqrtl | ||
| 2351 | # if HAVE_RAW_DECL_SQRTL | 2269 | # if HAVE_RAW_DECL_SQRTL |
| 2352 | _GL_WARN_ON_USE (sqrtl, "sqrtl is unportable - " | 2270 | _GL_WARN_ON_USE (sqrtl, "sqrtl is unportable - " |
| 2353 | "use gnulib module sqrtl for portability"); | 2271 | "use gnulib module sqrtl for portability"); |
| @@ -2372,7 +2290,6 @@ _GL_CXXALIAS_SYS (tanf, float, (float x)); | |||
| 2372 | # endif | 2290 | # endif |
| 2373 | _GL_CXXALIASWARN (tanf); | 2291 | _GL_CXXALIASWARN (tanf); |
| 2374 | #elif defined GNULIB_POSIXCHECK | 2292 | #elif defined GNULIB_POSIXCHECK |
| 2375 | # undef tanf | ||
| 2376 | # if HAVE_RAW_DECL_TANF | 2293 | # if HAVE_RAW_DECL_TANF |
| 2377 | _GL_WARN_ON_USE (tanf, "tanf is unportable - " | 2294 | _GL_WARN_ON_USE (tanf, "tanf is unportable - " |
| 2378 | "use gnulib module tanf for portability"); | 2295 | "use gnulib module tanf for portability"); |
| @@ -2389,7 +2306,6 @@ _GL_CXXALIAS_SYS (tanl, long double, (long double x)); | |||
| 2389 | _GL_CXXALIASWARN (tanl); | 2306 | _GL_CXXALIASWARN (tanl); |
| 2390 | # endif | 2307 | # endif |
| 2391 | #elif defined GNULIB_POSIXCHECK | 2308 | #elif defined GNULIB_POSIXCHECK |
| 2392 | # undef tanl | ||
| 2393 | # if HAVE_RAW_DECL_TANL | 2309 | # if HAVE_RAW_DECL_TANL |
| 2394 | _GL_WARN_ON_USE (tanl, "tanl is unportable - " | 2310 | _GL_WARN_ON_USE (tanl, "tanl is unportable - " |
| 2395 | "use gnulib module tanl for portability"); | 2311 | "use gnulib module tanl for portability"); |
| @@ -2414,7 +2330,6 @@ _GL_CXXALIAS_SYS (tanhf, float, (float x)); | |||
| 2414 | # endif | 2330 | # endif |
| 2415 | _GL_CXXALIASWARN (tanhf); | 2331 | _GL_CXXALIASWARN (tanhf); |
| 2416 | #elif defined GNULIB_POSIXCHECK | 2332 | #elif defined GNULIB_POSIXCHECK |
| 2417 | # undef tanhf | ||
| 2418 | # if HAVE_RAW_DECL_TANHF | 2333 | # if HAVE_RAW_DECL_TANHF |
| 2419 | _GL_WARN_ON_USE (tanhf, "tanhf is unportable - " | 2334 | _GL_WARN_ON_USE (tanhf, "tanhf is unportable - " |
| 2420 | "use gnulib module tanhf for portability"); | 2335 | "use gnulib module tanhf for portability"); |
| @@ -2438,7 +2353,6 @@ _GL_CXXALIAS_SYS (truncf, float, (float x)); | |||
| 2438 | # endif | 2353 | # endif |
| 2439 | _GL_CXXALIASWARN (truncf); | 2354 | _GL_CXXALIASWARN (truncf); |
| 2440 | #elif defined GNULIB_POSIXCHECK | 2355 | #elif defined GNULIB_POSIXCHECK |
| 2441 | # undef truncf | ||
| 2442 | # if HAVE_RAW_DECL_TRUNCF | 2356 | # if HAVE_RAW_DECL_TRUNCF |
| 2443 | _GL_WARN_ON_USE (truncf, "truncf is unportable - " | 2357 | _GL_WARN_ON_USE (truncf, "truncf is unportable - " |
| 2444 | "use gnulib module truncf for portability"); | 2358 | "use gnulib module truncf for portability"); |
| @@ -2463,7 +2377,6 @@ _GL_CXXALIAS_SYS (trunc, double, (double x)); | |||
| 2463 | _GL_CXXALIASWARN1 (trunc, double, (double x)); | 2377 | _GL_CXXALIASWARN1 (trunc, double, (double x)); |
| 2464 | # endif | 2378 | # endif |
| 2465 | #elif defined GNULIB_POSIXCHECK | 2379 | #elif defined GNULIB_POSIXCHECK |
| 2466 | # undef trunc | ||
| 2467 | # if HAVE_RAW_DECL_TRUNC | 2380 | # if HAVE_RAW_DECL_TRUNC |
| 2468 | _GL_WARN_ON_USE (trunc, "trunc is unportable - " | 2381 | _GL_WARN_ON_USE (trunc, "trunc is unportable - " |
| 2469 | "use gnulib module trunc for portability"); | 2382 | "use gnulib module trunc for portability"); |
| @@ -2488,7 +2401,6 @@ _GL_CXXALIAS_SYS (truncl, long double, (long double x)); | |||
| 2488 | _GL_CXXALIASWARN (truncl); | 2401 | _GL_CXXALIASWARN (truncl); |
| 2489 | # endif | 2402 | # endif |
| 2490 | #elif defined GNULIB_POSIXCHECK | 2403 | #elif defined GNULIB_POSIXCHECK |
| 2491 | # undef truncl | ||
| 2492 | # if HAVE_RAW_DECL_TRUNCL | 2404 | # if HAVE_RAW_DECL_TRUNCL |
| 2493 | _GL_WARN_ON_USE (truncl, "truncl is unportable - " | 2405 | _GL_WARN_ON_USE (truncl, "truncl is unportable - " |
| 2494 | "use gnulib module truncl for portability"); | 2406 | "use gnulib module truncl for portability"); |
| @@ -2549,18 +2461,25 @@ _GL_CXXALIASWARN (yn); | |||
| 2549 | declarations. */ | 2461 | declarations. */ |
| 2550 | 2462 | ||
| 2551 | 2463 | ||
| 2552 | #if @GNULIB_ISFINITE@ | 2464 | #if @GNULIB_ISFINITE@ || @GNULIB_ISFINITE_NO_CXX@ |
| 2553 | # if @REPLACE_ISFINITE@ | 2465 | # if @REPLACE_ISFINITE@ |
| 2554 | _GL_EXTERN_C int gl_isfinitef (float x); | 2466 | _GL_EXTERN_C int gl_isfinitef (float x); |
| 2555 | _GL_EXTERN_C int gl_isfinited (double x); | 2467 | _GL_EXTERN_C int gl_isfinited (double x); |
| 2556 | _GL_EXTERN_C int gl_isfinitel (long double x); | 2468 | _GL_EXTERN_C int gl_isfinitel (long double x); |
| 2557 | # undef isfinite | 2469 | # ifdef __cplusplus |
| 2558 | # define isfinite(x) \ | 2470 | template <typename T> int isfinite (T); |
| 2559 | (sizeof (x) == sizeof (long double) ? gl_isfinitel (x) : \ | 2471 | template <> inline int isfinite<float> (float x) { return gl_isfinitef (x); } |
| 2560 | sizeof (x) == sizeof (double) ? gl_isfinited (x) : \ | 2472 | template <> inline int isfinite<double> (double x) { return gl_isfinited (x); } |
| 2561 | 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 | ||
| 2562 | # endif | 2481 | # endif |
| 2563 | # ifdef __cplusplus | 2482 | # if @GNULIB_ISFINITE@ && defined __cplusplus |
| 2564 | # if defined isfinite || defined GNULIB_NAMESPACE | 2483 | # if defined isfinite || defined GNULIB_NAMESPACE |
| 2565 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isfinite) | 2484 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isfinite) |
| 2566 | # undef isfinite | 2485 | # undef isfinite |
| @@ -2584,18 +2503,25 @@ _GL_WARN_REAL_FLOATING_DECL (isfinite); | |||
| 2584 | #endif | 2503 | #endif |
| 2585 | 2504 | ||
| 2586 | 2505 | ||
| 2587 | #if @GNULIB_ISINF@ | 2506 | #if @GNULIB_ISINF@ || @GNULIB_ISINF_NO_CXX@ |
| 2588 | # if @REPLACE_ISINF@ | 2507 | # if @REPLACE_ISINF@ |
| 2589 | _GL_EXTERN_C int gl_isinff (float x); | 2508 | _GL_EXTERN_C int gl_isinff (float x); |
| 2590 | _GL_EXTERN_C int gl_isinfd (double x); | 2509 | _GL_EXTERN_C int gl_isinfd (double x); |
| 2591 | _GL_EXTERN_C int gl_isinfl (long double x); | 2510 | _GL_EXTERN_C int gl_isinfl (long double x); |
| 2592 | # undef isinf | 2511 | # ifdef __cplusplus |
| 2593 | # define isinf(x) \ | 2512 | template <typename T> int isinf (T); |
| 2594 | (sizeof (x) == sizeof (long double) ? gl_isinfl (x) : \ | 2513 | template <> inline int isinf<float> (float x) { return gl_isinff (x); } |
| 2595 | sizeof (x) == sizeof (double) ? gl_isinfd (x) : \ | 2514 | template <> inline int isinf<double> (double x) { return gl_isinfd (x); } |
| 2596 | 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 | ||
| 2597 | # endif | 2523 | # endif |
| 2598 | # ifdef __cplusplus | 2524 | # if @GNULIB_ISINF@ && defined __cplusplus |
| 2599 | # if defined isinf || defined GNULIB_NAMESPACE | 2525 | # if defined isinf || defined GNULIB_NAMESPACE |
| 2600 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isinf) | 2526 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isinf) |
| 2601 | # undef isinf | 2527 | # undef isinf |
| @@ -2622,9 +2548,9 @@ _GL_WARN_REAL_FLOATING_DECL (isinf); | |||
| 2622 | #if @GNULIB_ISNANF@ | 2548 | #if @GNULIB_ISNANF@ |
| 2623 | /* Test for NaN for 'float' numbers. */ | 2549 | /* Test for NaN for 'float' numbers. */ |
| 2624 | # if @HAVE_ISNANF@ | 2550 | # if @HAVE_ISNANF@ |
| 2625 | # if defined __sun || defined __sgi | 2551 | # if defined __sun |
| 2626 | /* 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 |
| 2627 | define isnanf as a macro, because that would conflict with <ieeefp.h>. */ | 2553 | as a macro, because that would conflict with <ieeefp.h>. */ |
| 2628 | _GL_EXTERN_C int isnanf (float x); | 2554 | _GL_EXTERN_C int isnanf (float x); |
| 2629 | # else | 2555 | # else |
| 2630 | /* 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 |
| @@ -2652,9 +2578,9 @@ _GL_EXTERN_C int isnanf (float x); | |||
| 2652 | This function is a gnulib extension, unlike isnan() which applied only | 2578 | This function is a gnulib extension, unlike isnan() which applied only |
| 2653 | to 'double' numbers earlier but now is a type-generic macro. */ | 2579 | to 'double' numbers earlier but now is a type-generic macro. */ |
| 2654 | # if @HAVE_ISNAND@ | 2580 | # if @HAVE_ISNAND@ |
| 2655 | # if defined __sun || defined __sgi | 2581 | # if defined __sun |
| 2656 | /* 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 |
| 2657 | define isnand as a macro, because that would conflict with <ieeefp.h>. */ | 2583 | as a macro, because that would conflict with <ieeefp.h>. */ |
| 2658 | _GL_EXTERN_C int isnand (double x); | 2584 | _GL_EXTERN_C int isnand (double x); |
| 2659 | # else | 2585 | # else |
| 2660 | /* The original <math.h> included above provides a declaration of isnan | 2586 | /* The original <math.h> included above provides a declaration of isnan |
| @@ -2699,7 +2625,7 @@ _GL_EXTERN_C int isnanl (long double x) _GL_ATTRIBUTE_CONST; | |||
| 2699 | #endif | 2625 | #endif |
| 2700 | 2626 | ||
| 2701 | /* 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! */ |
| 2702 | #if @GNULIB_ISNAN@ | 2628 | #if @GNULIB_ISNAN@ || @GNULIB_ISNAN_NO_CXX@ |
| 2703 | # if @REPLACE_ISNAN@ | 2629 | # if @REPLACE_ISNAN@ |
| 2704 | /* 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 |
| 2705 | 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 |
| @@ -2723,19 +2649,35 @@ _GL_EXTERN_C int rpl_isnand (double x); | |||
| 2723 | _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; |
| 2724 | # define gl_isnan_l(x) rpl_isnanl (x) | 2650 | # define gl_isnan_l(x) rpl_isnanl (x) |
| 2725 | # endif | 2651 | # endif |
| 2726 | # undef isnan | 2652 | # ifdef __cplusplus |
| 2727 | # define isnan(x) \ | 2653 | # undef isnan |
| 2728 | (sizeof (x) == sizeof (long double) ? gl_isnan_l (x) : \ | 2654 | template <typename T> int isnan (T); |
| 2729 | sizeof (x) == sizeof (double) ? gl_isnan_d (x) : \ | 2655 | template <> inline int isnan<float> (float x) { return gl_isnan_f (x); } |
| 2730 | 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 | ||
| 2731 | # elif (__GNUC__ >= 4) || (__clang_major__ >= 4) | 2665 | # elif (__GNUC__ >= 4) || (__clang_major__ >= 4) |
| 2732 | # undef isnan | 2666 | # ifdef __cplusplus |
| 2733 | # define isnan(x) \ | 2667 | # undef isnan |
| 2734 | (sizeof (x) == sizeof (long double) ? __builtin_isnan ((long double)(x)) : \ | 2668 | template <typename T> int isnan (T); |
| 2735 | sizeof (x) == sizeof (double) ? __builtin_isnan ((double)(x)) : \ | 2669 | template <> inline int isnan<float> (float x) { return __builtin_isnan (x); } |
| 2736 | __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 | ||
| 2737 | # endif | 2679 | # endif |
| 2738 | # ifdef __cplusplus | 2680 | # if @GNULIB_ISNAN@ && defined __cplusplus |
| 2739 | # if defined isnan || defined GNULIB_NAMESPACE | 2681 | # if defined isnan || defined GNULIB_NAMESPACE |
| 2740 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isnan) | 2682 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isnan) |
| 2741 | # undef isnan | 2683 | # undef isnan |
| @@ -2769,15 +2711,22 @@ _GL_WARN_REAL_FLOATING_DECL (isnan); | |||
| 2769 | #endif | 2711 | #endif |
| 2770 | 2712 | ||
| 2771 | 2713 | ||
| 2772 | #if @GNULIB_SIGNBIT@ | 2714 | #if @GNULIB_SIGNBIT@ || @GNULIB_SIGNBIT_NO_CXX@ |
| 2773 | # if (@REPLACE_SIGNBIT_USING_BUILTINS@ \ | 2715 | # if (@REPLACE_SIGNBIT_USING_BUILTINS@ \ |
| 2774 | && (!defined __cplusplus || __cplusplus < 201103)) | 2716 | && (!defined __cplusplus || __cplusplus < 201103)) |
| 2775 | # undef signbit | 2717 | # undef signbit |
| 2776 | /* GCC >= 4.0 and clang provide three built-ins for signbit. */ | 2718 | /* GCC >= 4.0 and clang provide three built-ins for signbit. */ |
| 2777 | # define signbit(x) \ | 2719 | # if defined __cplusplus && !defined __clang__ |
| 2778 | (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \ | 2720 | template <typename T> int signbit (T); |
| 2779 | sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \ | 2721 | template <> inline int signbit<float> (float x) { return __builtin_signbitf (x); } |
| 2780 | __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 | ||
| 2781 | # endif | 2730 | # endif |
| 2782 | # if @REPLACE_SIGNBIT@ && !GNULIB_defined_signbit | 2731 | # if @REPLACE_SIGNBIT@ && !GNULIB_defined_signbit |
| 2783 | # undef signbit | 2732 | # undef signbit |
| @@ -2821,13 +2770,20 @@ _GL_EXTERN_C int gl_signbitl (long double arg); | |||
| 2821 | }) | 2770 | }) |
| 2822 | # endif | 2771 | # endif |
| 2823 | # endif | 2772 | # endif |
| 2824 | # define signbit(x) \ | 2773 | # if defined __cplusplus && !defined __clang__ |
| 2825 | (sizeof (x) == sizeof (long double) ? gl_signbitl (x) : \ | 2774 | template <typename T> int signbit (T); |
| 2826 | sizeof (x) == sizeof (double) ? gl_signbitd (x) : \ | 2775 | template <> inline int signbit<float> (float x) { return gl_signbitf (x); } |
| 2827 | 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 | ||
| 2828 | # define GNULIB_defined_signbit 1 | 2784 | # define GNULIB_defined_signbit 1 |
| 2829 | # endif | 2785 | # endif |
| 2830 | # ifdef __cplusplus | 2786 | # if @GNULIB_SIGNBIT@ && defined __cplusplus |
| 2831 | # if defined signbit || defined GNULIB_NAMESPACE | 2787 | # if defined signbit || defined GNULIB_NAMESPACE |
| 2832 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (signbit) | 2788 | _GL_MATH_CXX_REAL_FLOATING_DECL_1 (signbit) |
| 2833 | # undef signbit | 2789 | # undef signbit |
| @@ -2867,7 +2823,6 @@ _GL_CXXALIAS_SYS (getpayloadf, float, (const float *)); | |||
| 2867 | # endif | 2823 | # endif |
| 2868 | _GL_CXXALIASWARN (getpayloadf); | 2824 | _GL_CXXALIASWARN (getpayloadf); |
| 2869 | #elif defined GNULIB_POSIXCHECK | 2825 | #elif defined GNULIB_POSIXCHECK |
| 2870 | # undef getpayloadf | ||
| 2871 | # if HAVE_RAW_DECL_GETPAYLOADF | 2826 | # if HAVE_RAW_DECL_GETPAYLOADF |
| 2872 | _GL_WARN_ON_USE (getpayloadf, "getpayloadf is unportable - " | 2827 | _GL_WARN_ON_USE (getpayloadf, "getpayloadf is unportable - " |
| 2873 | "use gnulib module getpayloadf for portability"); | 2828 | "use gnulib module getpayloadf for portability"); |
| @@ -2890,7 +2845,6 @@ _GL_CXXALIAS_SYS (getpayload, double, (const double *)); | |||
| 2890 | # endif | 2845 | # endif |
| 2891 | _GL_CXXALIASWARN (getpayload); | 2846 | _GL_CXXALIASWARN (getpayload); |
| 2892 | #elif defined GNULIB_POSIXCHECK | 2847 | #elif defined GNULIB_POSIXCHECK |
| 2893 | # undef getpayload | ||
| 2894 | # if HAVE_RAW_DECL_GETPAYLOAD | 2848 | # if HAVE_RAW_DECL_GETPAYLOAD |
| 2895 | _GL_WARN_ON_USE (getpayload, "getpayload is unportable - " | 2849 | _GL_WARN_ON_USE (getpayload, "getpayload is unportable - " |
| 2896 | "use gnulib module getpayload for portability"); | 2850 | "use gnulib module getpayload for portability"); |
| @@ -2913,7 +2867,6 @@ _GL_CXXALIAS_SYS (getpayloadl, long double, (const long double *)); | |||
| 2913 | # endif | 2867 | # endif |
| 2914 | _GL_CXXALIASWARN (getpayloadl); | 2868 | _GL_CXXALIASWARN (getpayloadl); |
| 2915 | #elif defined GNULIB_POSIXCHECK | 2869 | #elif defined GNULIB_POSIXCHECK |
| 2916 | # undef getpayloadl | ||
| 2917 | # if HAVE_RAW_DECL_GETPAYLOADL | 2870 | # if HAVE_RAW_DECL_GETPAYLOADL |
| 2918 | _GL_WARN_ON_USE (getpayloadl, "getpayloadl is unportable - " | 2871 | _GL_WARN_ON_USE (getpayloadl, "getpayloadl is unportable - " |
| 2919 | "use gnulib module getpayloadl for portability"); | 2872 | "use gnulib module getpayloadl for portability"); |
| @@ -2928,7 +2881,6 @@ _GL_FUNCDECL_SYS (setpayloadf, int, (float *, float), ); | |||
| 2928 | _GL_CXXALIAS_SYS (setpayloadf, int, (float *, float)); | 2881 | _GL_CXXALIAS_SYS (setpayloadf, int, (float *, float)); |
| 2929 | _GL_CXXALIASWARN (setpayloadf); | 2882 | _GL_CXXALIASWARN (setpayloadf); |
| 2930 | #elif defined GNULIB_POSIXCHECK | 2883 | #elif defined GNULIB_POSIXCHECK |
| 2931 | # undef setpayloadf | ||
| 2932 | # if HAVE_RAW_DECL_SETPAYLOADF | 2884 | # if HAVE_RAW_DECL_SETPAYLOADF |
| 2933 | _GL_WARN_ON_USE (setpayloadf, "setpayloadf is unportable - " | 2885 | _GL_WARN_ON_USE (setpayloadf, "setpayloadf is unportable - " |
| 2934 | "use gnulib module setpayloadf for portability"); | 2886 | "use gnulib module setpayloadf for portability"); |
| @@ -2942,7 +2894,6 @@ _GL_FUNCDECL_SYS (setpayload, int, (double *, double), ); | |||
| 2942 | _GL_CXXALIAS_SYS (setpayload, int, (double *, double)); | 2894 | _GL_CXXALIAS_SYS (setpayload, int, (double *, double)); |
| 2943 | _GL_CXXALIASWARN (setpayload); | 2895 | _GL_CXXALIASWARN (setpayload); |
| 2944 | #elif defined GNULIB_POSIXCHECK | 2896 | #elif defined GNULIB_POSIXCHECK |
| 2945 | # undef setpayload | ||
| 2946 | # if HAVE_RAW_DECL_SETPAYLOAD | 2897 | # if HAVE_RAW_DECL_SETPAYLOAD |
| 2947 | _GL_WARN_ON_USE (setpayload, "setpayload is unportable - " | 2898 | _GL_WARN_ON_USE (setpayload, "setpayload is unportable - " |
| 2948 | "use gnulib module setpayload for portability"); | 2899 | "use gnulib module setpayload for portability"); |
| @@ -2956,7 +2907,6 @@ _GL_FUNCDECL_SYS (setpayloadl, int, (long double *, long double), ); | |||
| 2956 | _GL_CXXALIAS_SYS (setpayloadl, int, (long double *, long double)); | 2907 | _GL_CXXALIAS_SYS (setpayloadl, int, (long double *, long double)); |
| 2957 | _GL_CXXALIASWARN (setpayloadl); | 2908 | _GL_CXXALIASWARN (setpayloadl); |
| 2958 | #elif defined GNULIB_POSIXCHECK | 2909 | #elif defined GNULIB_POSIXCHECK |
| 2959 | # undef setpayloadl | ||
| 2960 | # if HAVE_RAW_DECL_SETPAYLOADL | 2910 | # if HAVE_RAW_DECL_SETPAYLOADL |
| 2961 | _GL_WARN_ON_USE (setpayloadl, "setpayloadl is unportable - " | 2911 | _GL_WARN_ON_USE (setpayloadl, "setpayloadl is unportable - " |
| 2962 | "use gnulib module setpayloadl for portability"); | 2912 | "use gnulib module setpayloadl for portability"); |
| @@ -2971,7 +2921,6 @@ _GL_FUNCDECL_SYS (setpayloadsigf, int, (float *, float), ); | |||
| 2971 | _GL_CXXALIAS_SYS (setpayloadsigf, int, (float *, float)); | 2921 | _GL_CXXALIAS_SYS (setpayloadsigf, int, (float *, float)); |
| 2972 | _GL_CXXALIASWARN (setpayloadsigf); | 2922 | _GL_CXXALIASWARN (setpayloadsigf); |
| 2973 | #elif defined GNULIB_POSIXCHECK | 2923 | #elif defined GNULIB_POSIXCHECK |
| 2974 | # undef setpayloadsigf | ||
| 2975 | # if HAVE_RAW_DECL_SETPAYLOADSIGF | 2924 | # if HAVE_RAW_DECL_SETPAYLOADSIGF |
| 2976 | _GL_WARN_ON_USE (setpayloadsigf, "setpayloadsigf is unportable - " | 2925 | _GL_WARN_ON_USE (setpayloadsigf, "setpayloadsigf is unportable - " |
| 2977 | "use gnulib module setpayloadsigf for portability"); | 2926 | "use gnulib module setpayloadsigf for portability"); |
| @@ -2985,7 +2934,6 @@ _GL_FUNCDECL_SYS (setpayloadsig, int, (double *, double), ); | |||
| 2985 | _GL_CXXALIAS_SYS (setpayloadsig, int, (double *, double)); | 2934 | _GL_CXXALIAS_SYS (setpayloadsig, int, (double *, double)); |
| 2986 | _GL_CXXALIASWARN (setpayloadsig); | 2935 | _GL_CXXALIASWARN (setpayloadsig); |
| 2987 | #elif defined GNULIB_POSIXCHECK | 2936 | #elif defined GNULIB_POSIXCHECK |
| 2988 | # undef setpayloadsig | ||
| 2989 | # if HAVE_RAW_DECL_SETPAYLOADSIG | 2937 | # if HAVE_RAW_DECL_SETPAYLOADSIG |
| 2990 | _GL_WARN_ON_USE (setpayloadsig, "setpayloadsig is unportable - " | 2938 | _GL_WARN_ON_USE (setpayloadsig, "setpayloadsig is unportable - " |
| 2991 | "use gnulib module setpayloadsig for portability"); | 2939 | "use gnulib module setpayloadsig for portability"); |
| @@ -2999,7 +2947,6 @@ _GL_FUNCDECL_SYS (setpayloadsigl, int, (long double *, long double), ); | |||
| 2999 | _GL_CXXALIAS_SYS (setpayloadsigl, int, (long double *, long double)); | 2947 | _GL_CXXALIAS_SYS (setpayloadsigl, int, (long double *, long double)); |
| 3000 | _GL_CXXALIASWARN (setpayloadsigl); | 2948 | _GL_CXXALIASWARN (setpayloadsigl); |
| 3001 | #elif defined GNULIB_POSIXCHECK | 2949 | #elif defined GNULIB_POSIXCHECK |
| 3002 | # undef setpayloadsigl | ||
| 3003 | # if HAVE_RAW_DECL_SETPAYLOADSIGL | 2950 | # if HAVE_RAW_DECL_SETPAYLOADSIGL |
| 3004 | _GL_WARN_ON_USE (setpayloadsigl, "setpayloadsigl is unportable - " | 2951 | _GL_WARN_ON_USE (setpayloadsigl, "setpayloadsigl is unportable - " |
| 3005 | "use gnulib module setpayloadsigl for portability"); | 2952 | "use gnulib module setpayloadsigl for portability"); |
| @@ -3023,7 +2970,6 @@ _GL_CXXALIAS_SYS (totalorderf, int, (float const *, float const *)); | |||
| 3023 | # endif | 2970 | # endif |
| 3024 | _GL_CXXALIASWARN (totalorderf); | 2971 | _GL_CXXALIASWARN (totalorderf); |
| 3025 | #elif defined GNULIB_POSIXCHECK | 2972 | #elif defined GNULIB_POSIXCHECK |
| 3026 | # undef totalorderf | ||
| 3027 | # if HAVE_RAW_DECL_TOTALORDERF | 2973 | # if HAVE_RAW_DECL_TOTALORDERF |
| 3028 | _GL_WARN_ON_USE (totalorderf, "totalorderf is unportable - " | 2974 | _GL_WARN_ON_USE (totalorderf, "totalorderf is unportable - " |
| 3029 | "use gnulib module totalorderf for portability"); | 2975 | "use gnulib module totalorderf for portability"); |
| @@ -3048,7 +2994,6 @@ _GL_CXXALIAS_SYS (totalorder, int, (double const *, double const *)); | |||
| 3048 | _GL_CXXALIASWARN1 (totalorder, int, (double const *, double const *)); | 2994 | _GL_CXXALIASWARN1 (totalorder, int, (double const *, double const *)); |
| 3049 | # endif | 2995 | # endif |
| 3050 | #elif defined GNULIB_POSIXCHECK | 2996 | #elif defined GNULIB_POSIXCHECK |
| 3051 | # undef totalorder | ||
| 3052 | # if HAVE_RAW_DECL_TOTALORDER | 2997 | # if HAVE_RAW_DECL_TOTALORDER |
| 3053 | _GL_WARN_ON_USE (totalorder, "totalorder is unportable - " | 2998 | _GL_WARN_ON_USE (totalorder, "totalorder is unportable - " |
| 3054 | "use gnulib module totalorder for portability"); | 2999 | "use gnulib module totalorder for portability"); |
| @@ -3075,7 +3020,6 @@ _GL_CXXALIAS_SYS (totalorderl, int, | |||
| 3075 | # endif | 3020 | # endif |
| 3076 | _GL_CXXALIASWARN (totalorderl); | 3021 | _GL_CXXALIASWARN (totalorderl); |
| 3077 | #elif defined GNULIB_POSIXCHECK | 3022 | #elif defined GNULIB_POSIXCHECK |
| 3078 | # undef totalorderl | ||
| 3079 | # if HAVE_RAW_DECL_TOTALORDERL | 3023 | # if HAVE_RAW_DECL_TOTALORDERL |
| 3080 | _GL_WARN_ON_USE (totalorderl, "totalorderl is unportable - " | 3024 | _GL_WARN_ON_USE (totalorderl, "totalorderl is unportable - " |
| 3081 | "use gnulib module totalorderl for portability"); | 3025 | "use gnulib module totalorderl for portability"); |
| @@ -3101,7 +3045,6 @@ _GL_CXXALIAS_SYS (totalordermagf, int, (float const *, float const *)); | |||
| 3101 | _GL_CXXALIASWARN1 (totalordermagf, int, (float const *, float const *)); | 3045 | _GL_CXXALIASWARN1 (totalordermagf, int, (float const *, float const *)); |
| 3102 | # endif | 3046 | # endif |
| 3103 | #elif defined GNULIB_POSIXCHECK | 3047 | #elif defined GNULIB_POSIXCHECK |
| 3104 | # undef totalordermagf | ||
| 3105 | # if HAVE_RAW_DECL_TOTALORDERMAGF | 3048 | # if HAVE_RAW_DECL_TOTALORDERMAGF |
| 3106 | _GL_WARN_ON_USE (totalordermagf, "totalordermagf is unportable - " | 3049 | _GL_WARN_ON_USE (totalordermagf, "totalordermagf is unportable - " |
| 3107 | "use gnulib module totalordermagf for portability"); | 3050 | "use gnulib module totalordermagf for portability"); |
| @@ -3126,7 +3069,6 @@ _GL_CXXALIAS_SYS (totalordermag, int, (double const *, double const *)); | |||
| 3126 | _GL_CXXALIASWARN1 (totalordermag, int, (double const *, double const *)); | 3069 | _GL_CXXALIASWARN1 (totalordermag, int, (double const *, double const *)); |
| 3127 | # endif | 3070 | # endif |
| 3128 | #elif defined GNULIB_POSIXCHECK | 3071 | #elif defined GNULIB_POSIXCHECK |
| 3129 | # undef totalordermag | ||
| 3130 | # if HAVE_RAW_DECL_TOTALORDERMAG | 3072 | # if HAVE_RAW_DECL_TOTALORDERMAG |
| 3131 | _GL_WARN_ON_USE (totalordermag, "totalordermag is unportable - " | 3073 | _GL_WARN_ON_USE (totalordermag, "totalordermag is unportable - " |
| 3132 | "use gnulib module totalordermag for portability"); | 3074 | "use gnulib module totalordermag for portability"); |
| @@ -3156,7 +3098,6 @@ _GL_CXXALIASWARN1 (totalordermagl, int, | |||
| 3156 | (long double const *, long double const *)); | 3098 | (long double const *, long double const *)); |
| 3157 | # endif | 3099 | # endif |
| 3158 | #elif defined GNULIB_POSIXCHECK | 3100 | #elif defined GNULIB_POSIXCHECK |
| 3159 | # undef totalordermagl | ||
| 3160 | # if HAVE_RAW_DECL_TOTALORDERMAGL | 3101 | # if HAVE_RAW_DECL_TOTALORDERMAGL |
| 3161 | _GL_WARN_ON_USE (totalordermagl, "totalordermagl is unportable - " | 3102 | _GL_WARN_ON_USE (totalordermagl, "totalordermagl is unportable - " |
| 3162 | "use gnulib module totalordermagl for portability"); | 3103 | "use gnulib module totalordermagl for portability"); |
