pub fn numeric_compare(left: &Value, right: &Value) -> EvalResult<Ordering>Expand description
Numeric ordering for [[ -eq ]]/-gt/-lt/-ge/-le/-ne.
Coerces string operands via value_to_num. Shared verbatim with the test
builtin so test’s numeric ops match [[ exactly (JSON-number semantics,
floats included — not POSIX integer-only).