*Originally posted by sturm375 *

** **

Bit Math:

Yes I, bet you are right, C++ probably only recoginizes math out to 15 digits. This is a compiler, not the processor. The processor does not see 15e9, the processor sees 101110101001011101010100101010101010 only. (previous was an exageration I have know idea what those 1s and 0s say. Point being that when you pass a number to the processor, depending on the assignment (real/integer) determines how many 1s and 0s pass go through. If you assign a single integer and do math on it both the G4 and the Px/AMD will see 1=000000000000000000000000000001 (I think). That is a 32-bit number. Now on the other extream, if you pass the widest number, a real, to a processor, double the number of characters for the G4. For the Px and the AMD processors, you pass 80 1s and 0s. It doesn't matter to the processor whether you passed 3 or 3x10^456, a real number has the same number of 1s and 0s. Now math gets even more complicated, as the processor cannot make judgements. It can't shorten the number, it doesn't see the whole number all at once. It has to spin it's wheels looking at each bit. That means that for a real on a G4 will take 2 cycles, and a Px/AMD will take 3 cycles.

Bottom line, The G4 is faster, because it takes short-cuts.

Click to expand...