Posts: 2,020
Threads: 24
Joined: Jun 2002
then you're wasting processer power. an integer divide is always faster than rounding a floating point divide.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Posts: 3,368
Threads: 195
Joined: Jan 2003
and a check to see whether the first bit is on or off is even faster. :lol:
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 2,020
Threads: 24
Joined: Jun 2002
...that would be if you were finding out if it was even/odd, not determining the greatest common factor *bitc.hslaps agamemnus*
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Posts: 1,845
Threads: 44
Joined: Aug 2002
heh
how about the sea of erathos with prime nrs > 100000? lol
Posts: 6,419
Threads: 74
Joined: Mar 2002
Quote:heh how about the sea of erathos with prime nrs > 100000? lol
Do you mean the siege of Erathosthenes?
Posts: 2,020
Threads: 24
Joined: Jun 2002
uh, yeah. *scratches head, looks away*
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Posts: 3,368
Threads: 195
Joined: Jan 2003
sieve of Erasthones.....
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 3,288
Threads: 167
Joined: Nov 2001
Posts: 3,288
Threads: 167
Joined: Nov 2001
I was asked this question by Mr. Howman via Email.
Pls Tell me is 999999999999999999999999999999999999999 odd or Even
************************************************
Laurence Howman 71 Muriel St Ottawa
K1S 4C9 #613 232 8027
:*)
Anyone?
Posts: 704
Threads: 0
Joined: Dec 2002
(Hint!)
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.