diff options
| author | Malo <57839069+MDLC01@users.noreply.github.com> | 2024-08-15 22:04:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-15 20:04:50 +0000 |
| commit | c43997de0a4fa958bc6bdfd5c29a47e1ba14800d (patch) | |
| tree | 7798325886b6a03b79be85f29ee8339a9b4dea93 /tests/suite/scripting/ops.typ | |
| parent | 0edd8ec93d16a397e58cebaa215b6c14cd24de8f (diff) | |
Move `calc.nan` to `float.nan` and add `float.inf` (#4733)
Diffstat (limited to 'tests/suite/scripting/ops.typ')
| -rw-r--r-- | tests/suite/scripting/ops.typ | 4 |
1 files changed, 2 insertions, 2 deletions
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 --- |
