mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04:00
54295: document that floating point exceptions are ignored
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user