Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
printf bug
- X-seq: zsh-workers 31255
- From: Yuya Amemiya <ghostrevery@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: printf bug
- Date: Fri, 12 Apr 2013 01:40:56 +0900 (JST)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:message-id:to:subject:from:x-mailer:mime-version :content-type:content-transfer-encoding; bh=GI8j/DkxyvrKtIkS6whV7OeSLXsGD8R2EkwbJK8+wyo=; b=wjAoqhe0qHVQBUMx5p6wM/fms0t1soCdy9GEppdE5pnVWSc00TkGSqoUG9u7nDYM9R 4NpspYqR9Hjgr8rg32EV/D0S2HqQBWpVMcXmR9s+FS9f0d8wNkXYQObaCTgBP4Co4KEk shQUH9vKsF0eEhoDD1Lvkjh+pgtCi5wBh0O3+dix50EVvbD9++lcYkikzzIplKIPwltW WqZJfPWPEMsaWRh23LCLK2+0qTlQ8Nk9/Gnl9caeKfn3BO7V8KZduU2JUt4Y2bRTyUd/ iyj93DSvL+/euYMFhHXJKdPAFvH5ny9RzmqLBp2HM69YUBqsv8Rn+JnmbdOiSYzbpx/i lzPg==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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