diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2023-09-18 01:05:19 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2023-09-18 01:09:37 +0000 |
commit | 988758838533b24f5893b36514fe2c68a3f911a2 (patch) | |
tree | d5a3c8465d26eff63bbe07b8278315be6b91faf0 /contrib/bmake/unit-tests/cond-cmp-numeric-gt.mk | |
parent | a6662c37b6ffee46e18be5f7570149edc64c1d0b (diff) | |
parent | 1012cf15f75d1e9048779abd07270a37cdba590a (diff) | |
download | src-988758838533b24f5893b36514fe2c68a3f911a2.tar.gz src-988758838533b24f5893b36514fe2c68a3f911a2.zip |
Merge bmake-20230909
Merge commit '1012cf15f75d1e9048779abd07270a37cdba590a'
Diffstat (limited to 'contrib/bmake/unit-tests/cond-cmp-numeric-gt.mk')
-rwxr-xr-x | contrib/bmake/unit-tests/cond-cmp-numeric-gt.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/bmake/unit-tests/cond-cmp-numeric-gt.mk b/contrib/bmake/unit-tests/cond-cmp-numeric-gt.mk index 1cdcc9891d6f..6134f7daf3fe 100755 --- a/contrib/bmake/unit-tests/cond-cmp-numeric-gt.mk +++ b/contrib/bmake/unit-tests/cond-cmp-numeric-gt.mk @@ -1,4 +1,4 @@ -# $NetBSD: cond-cmp-numeric-gt.mk,v 1.2 2020/10/24 08:46:08 rillig Exp $ +# $NetBSD: cond-cmp-numeric-gt.mk,v 1.3 2023/09/07 05:36:33 rillig Exp $ # # Tests for numeric comparisons with the > operator in .if conditions. @@ -61,11 +61,11 @@ . error .endif -# As of 2020-08-23, numeric comparison is implemented as parsing both sides +# Numeric comparison works by parsing both sides # as double, and then performing a normal comparison. The range of double is # typically 16 or 17 significant digits, therefore these two numbers seem to # be equal. -.if 1.000000000000000001 > 1.000000000000000002 +.if 1.000000000000000002 > 1.000000000000000001 . error .endif |