khulat
Re:Python wats
on Sunday October 11, 2015 @07:08AM (#10368918)
Well to be fair it is only a wat if you don't know about floating point imprecision. Because that is exactly what is causing this contrary to what is stated. Also python just gets this behavior from C, so the other claim that this is a special case of python is also not true.
Since the 1 is shifted 53 bits to the left the number is right at the start of the number range where only even numbers can be represented.
You get 900719925470993 as the decimal number which you cast to float : 900719925470992.0
Then you add 1.0 and get 900719925470992.0 because of floating point imprecision and rounding. The next floating point number would be 900719925470994.0.
92 is less than 93 and this gets you this seemingly weird x+1.0 < x = true.
Re:APA Review Confirms Link Between Playing Violent Video Games and Ag...
on Monday September 21, 2015 @09:58AM (#10252280)
To get another perspective on this read this article:
http://www.rockpapershotgun.com/2015/08/18/apa-studies-video...
Re:Websrvr – Deploy your websites to a CDN using Dropbox
on Saturday September 06, 2014 @03:04AM (#8277753)
Yeah, but it doesn't tell you that.
Re:Some problems with SQRL
on Wednesday October 09, 2013 @02:18PM (#6522863)
I think that basically all concerns that are raised are invalid, because the person who posted them doesn't understand how SQRL works.
See https://www.grc.com/sqrl/sqrl.htm for an explanation, which differs drastically from everything that is described in the post.