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

How to set signifcant figures of $((..)) ?



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