Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
How to set signifcant figures of $((..)) ?
- X-seq: zsh-users 19049
- From: Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: How to set signifcant figures of $((..)) ?
- Date: Tue, 2 Sep 2014 21:22:35 +0800
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi,
I have this results:
% zsh -f
localhost% print $((2**63))
-9223372036854775808
localhost% print $((2.0**63))
9.2233720368547758e+18
localhost%
How can the second print puts 9.223372036854775808e+18, please?
Thanks in advance!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author