Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

printf bug



Hi,

I think printf built-in command has a bug.

% printf "%u\n" 0xffffffffffffffff
zsh: number truncated after 15 digits: ffffffffffffffff
1152921504606846975

% command printf "%u\n" 0xffffffffffffffff
18446744073709551615

I expect to get 18446744073709551615 from zsh built-in.

Regards



Messages sorted by: Reverse Date, Date, Thread, Author