Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

35% FASTER MOTHERUCKERS

Name: Anonymous 2007-09-05 16:12 ID:sZSJ96Te

n & 1 is 35% FASTER HTAN n % 2
DISCUSS BRIFLY

Name: Anonymous 2007-09-06 9:56 ID:UgSPcWk2

>>26
He's checking to see if the number is odd or even. As floating point numbers include integers too, it's a valid check.

Actually this makes me wonder - how do you determine if a fractional or irrational number is odd or even, or is it undefined?

Probably you'd have to specify if the whole number part is odd or even. e.g. PI is odd, e is even, 5/2 is even.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List