[Jprogramming] 2^63

'Pascal Jasmin' via Programming programming at jsoftware.com
Mon May 26 17:55:57 UTC 2014


is there a way to get ^ to make a 64bit number without it being extended precision?  I guess an efficient alternative to ^ if that is not possible:

   2^63 
9.22337e18 
   2^63x 
9223372036854775808 
   9223372036854775808 
9223372036854775807 

Note that the last line is probably a problem. The answer is the largest non extended integer, but still unwelcome change from the input.

   9223372036854775808-1 
9223372036854775806 
   9223372036854775809-1 
9223372036854775806 

I guess this works

   (<: + ] ) 4611686018427387904
 NB. 2^62x
9223372036854775807 



More information about the Programming mailing list