Skip to main content
10 events
when toggle format what by license comment
Jan 29, 2018 at 22:23 comment added KDM I'd like, specifically to know why the results of an integer conversion on the results of pow() DOES NOT work for powers of 2. For me, pow(2,3) returns 8.00, but while int(8.00) returns 8, int(pow(2,3)) returns 7!
May 23, 2017 at 12:37 history edited CommunityBot
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Nov 14, 2016 at 9:44 history edited Edgar Bonet CC BY-SA 3.0
Fix off-by-one error.
Nov 14, 2016 at 2:34 comment added Dat Han Bag It can go past 2^32 - 1 if you use an implementation of arbitrary precision integer arithmetic
Nov 14, 2016 at 2:34 history edited Jason Clark CC BY-SA 3.0
added 7 characters in body
Nov 14, 2016 at 2:33 comment added Jason Clark @DatHa thanks, I seemed to have lost the word "signed" during editing. Fixed.
Nov 14, 2016 at 2:31 comment added Dat Ha Error: It can go up to 2^32 - 1 if you use an unsigned long.
Nov 14, 2016 at 1:57 vote accept CommunityBot
Nov 14, 2016 at 1:43 review First posts
Nov 14, 2016 at 2:17
Nov 14, 2016 at 1:43 history answered Jason Clark CC BY-SA 3.0