zsh-users
 help / color / mirror / code / Atom feed
* How to set signifcant figures of $((..)) ?
@ 2014-09-02 13:22 Han Pingtian
  2014-09-02 14:08 ` Peter Stephenson
  2014-09-02 14:09 ` Kurtis Rader
  0 siblings, 2 replies; 3+ messages in thread
From: Han Pingtian @ 2014-09-02 13:22 UTC (permalink / raw)
  To: zsh-users

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!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-02 14:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-02 13:22 How to set signifcant figures of $((..)) ? Han Pingtian
2014-09-02 14:08 ` Peter Stephenson
2014-09-02 14:09 ` Kurtis Rader

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).