From c43997de0a4fa958bc6bdfd5c29a47e1ba14800d Mon Sep 17 00:00:00 2001 From: Malo <57839069+MDLC01@users.noreply.github.com> Date: Thu, 15 Aug 2024 22:04:50 +0200 Subject: Move `calc.nan` to `float.nan` and add `float.inf` (#4733) --- tests/suite/scripting/ops.typ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/suite/scripting') diff --git a/tests/suite/scripting/ops.typ b/tests/suite/scripting/ops.typ index 0df4b82d..1c957217 100644 --- a/tests/suite/scripting/ops.typ +++ b/tests/suite/scripting/ops.typ @@ -335,7 +335,7 @@ #(1em <= 10pt) --- ops-compare-normal-float-with-nan --- -// Error: 3-22 cannot compare 2.2 with calc.nan +// Error: 3-22 cannot compare 2.2 with float.nan #(2.2 <= float("nan")) --- ops-compare-int-and-str --- @@ -343,7 +343,7 @@ #((0, 1, 3) > (0, 1, "a")) --- ops-compare-array-nested-failure --- -// Error: 3-42 cannot compare 3.5 with calc.nan +// Error: 3-42 cannot compare 3.5 with float.nan #((0, "a", 3.5) <= (0, "a", float("nan"))) --- ops-divide-by-zero-float --- -- cgit v1.2.3