[Bugzilla] [Bug 15506] Stéphane MOTTELET has changed cc

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Tue Mar 27 11:51:24 CEST 2018


http://bugzilla.scilab.org/show_bug.cgi?id=15506
--------- Bug Summary -----------
uint64() is puzzled  over [uint64(%inf)/2 uint64(%inf)]

---------- Changed by ------------
stephane.mottelet at utc.fr

---------- What changed ----------
cc


Stéphane MOTTELET <stephane.mottelet at utc.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stephane.mottelet at utc.fr

--- Comment #1 from Stéphane MOTTELET <stephane.mottelet at utc.fr> ---
For me, under OSX and Linux, everything is coherent, with an evident loss of precision in the computation of 2^64-1 as a double

--> x=uint64(%inf)
 x  = 

  18446744073709551615


--> y=2^64-1
 y  = 

   1.845D+19


--> format(25)

--> y
 y  = 

   18446744073709551616.


--> uint64(y)
 ans  =

  0

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180327/4e04329c/attachment.htm>


More information about the Bugzilla mailing list