diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-04-04 14:33:43 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-04-04 14:33:43 +0200 |
| commit | e77abf842d6beda4dab7d6e4718e372df4eb9410 (patch) | |
| tree | 86a97c940870a7ba055d56125a449241789819e6 /tests | |
| parent | 4aa5e0a4a3d005c25cbd12c843e464a791340c1a (diff) | |
Make error messages a bit more consistent
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/typ/compute/calc.typ | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/typ/compute/calc.typ b/tests/typ/compute/calc.typ index b7c6df02..31c5c967 100644 --- a/tests/typ/compute/calc.typ +++ b/tests/typ/compute/calc.typ @@ -90,11 +90,11 @@ #calc.pow(2, 10000000000000000) --- -// Error: 14-36 exponent may not be NaN, infinite, or subnormal +// Error: 14-36 exponent may not be infinite, subnormal, or NaN #calc.pow(2, calc.pow(2.0, 10000.0)) --- -// Error: 15-18 the return value is not a real number +// Error: 15-18 the result is not a real number #calc.pow(-1, 0.5) --- @@ -102,15 +102,15 @@ #calc.sqrt(-1) --- -// Error: 11-13 a logarithm parameter must be strictly positive +// Error: 11-13 value must be strictly positive #calc.log(-1) --- -// Error: 11-12 a logarithm base should be normal (not NaN, not infinite, non-null, not subnormal) +// Error: 11-12 base may not be zero, NaN, infinite, or subnormal #calc.log(1, base: 0) --- -// Error: 11-13 this logarithm doesn't return a real value +// Error: 11-13 the result is not a real number #calc.log(10, base: -1) --- |
