mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04:00
54313: convfloat: use consistent capitalisation for NaN, Inf, and -Inf
makes `typeset -p` use the same capitalisation as arithmetic expansion
This commit is contained in:
@@ -1177,3 +1177,12 @@ F:This is a bug, the non -h variable should not hide the autoload variable
|
||||
>z=SRANDOM (zsh/random)
|
||||
>z=
|
||||
>v=
|
||||
|
||||
() {
|
||||
typeset -F f1=nan f2=inf f3=-inf
|
||||
typeset -p f1 f2 f3
|
||||
}
|
||||
0:float NaN/Inf output formatting
|
||||
>typeset -F f1=NaN
|
||||
>typeset -F f2=Inf
|
||||
>typeset -F f3=-Inf
|
||||
|
||||
Reference in New Issue
Block a user