From 6508be03ccd0f4d2a32df997b435770553472adf Mon Sep 17 00:00:00 2001 From: Mark Davis Date: Tue, 5 Oct 2021 22:30:55 -0700 Subject: [PATCH] CLDR-14712 define NaN handling (#1530) --- docs/ldml/tr35-info.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/ldml/tr35-info.md b/docs/ldml/tr35-info.md index 13f0f8d3f01..0c0eb76bab6 100644 --- a/docs/ldml/tr35-info.md +++ b/docs/ldml/tr35-info.md @@ -1141,6 +1141,11 @@ Once you have a list of `unitPreference` elements, find the applicable unitPrefe * ≥ 30.48 meters ⇒ foot:inch * Search for the first matching unitPreference for the input measure. If there is no match (eg < 100 feet in the above example), take the last unitPreference. That is, the last unitPreference is effectively geq="0" +For completeness, when comparing doubles to the geq values: +* Negative numbers are treated as if they were positive. +* _infinity_ is treated as being the largest possible value. +* NaN is treated as the smallest possible value. + Once a matching `unitPreference` element is found: * The unit is the element value