1 # $NetBSD: cond-cmp-numeric-ne.mk,v 1.2 2020/10/24 08:46:08 rillig Exp $
3 # Tests for numeric comparisons with the != operator in .if conditions.
5 # When both sides are equal, the != operator always yields false.
10 # This comparison yields the same result, whether numeric or character-based.
21 # Scientific notation is supported, as per strtod.
30 # Trailing zeroes after the decimal point are irrelevant for the numeric
40 # As of 2020-08-23, numeric comparison is implemented as parsing both sides
41 # as double, and then performing a normal comparison. The range of double is
42 # typically 16 or 17 significant digits, therefore these two numbers seem to
44 .if 1.000000000000000001 != 1.000000000000000002