54295: document that floating point exceptions are ignored

This commit is contained in:
Jun-ichi Takimoto
2026-04-08 22:11:25 +09:00
parent b28db218a1
commit b421af0e3e
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2026-04-08 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 54295: Doc/Zsh/arith.yo: document that floating point
exceptions are ignored
2026-04-08 Mikael Magnusson <mikachu@gmail.com>
* 54319: Completion/compinit: turn off AUTO_NAME_DIRS option

View File

@@ -25,6 +25,8 @@ arithmetic expansion performed as for an argument of tt(let). More
precisely, `tt(LPAR()LPAR())var(...)tt(RPAR()RPAR())' is equivalent to
`tt(let ")var(...)tt(")'. The return status is 0 if the arithmetic value
of the expression is non-zero, 1 if it is zero, and 2 if an error occurred.
Floating point exceptions (division by zero, overflow, etc.) are ignored and
not considered as errors.
For example, the following statement