http://arewefastyet.com/
Indeed. http://www.google.com/search?q=fortnight+/+1000 1 fortnight / 1000 = 20.16 minutes
The US DST change in 2007 cost an estimated $500 million to $1 billion: http://www.csmonitor.com/2007/0307/p02s01-stct.html DST has cost me many hours spent debugging. I will be very happy if/when it is abolished in the…
why not use logs? in python: >>> from math import log >>> def isPower2(val): return False if (val == 0) else (log(val) / log(2)).is_integer() ... >>> isPower2(0) False >>>…
http://arewefastyet.com/
Indeed. http://www.google.com/search?q=fortnight+/+1000 1 fortnight / 1000 = 20.16 minutes
The US DST change in 2007 cost an estimated $500 million to $1 billion: http://www.csmonitor.com/2007/0307/p02s01-stct.html DST has cost me many hours spent debugging. I will be very happy if/when it is abolished in the…
why not use logs? in python: >>> from math import log >>> def isPower2(val): return False if (val == 0) else (log(val) / log(2)).is_integer() ... >>> isPower2(0) False >>>…