diff options
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 |