Floating-Point Numbers: Pentium 3 vs 4
Discussion
possibly the geekiest question i'm ever going to post - but i bet someone here knows the answer. if i'm doing the same calculations (with the same precision) on two different processors (as mentioned above) will i get exactly the same answer (to the zth digit) on both? hope this makes sense

To the Nth degree? Probably wouldn't get the same result twice TBH, electron drift, random quark passing through the CPU, solar rays.... that is to the Nth degree though
But if you were really looking to do hardcore math, then the x86 wouldn't be the best place... something like the Cell processor in the PS3... would be better. x86 is optimised for out-of-order execution (whatever it's called, basically code that jumps all over the shop) and Cell is in-order (good for physics processing aka math).
But if you were really looking to do hardcore math, then the x86 wouldn't be the best place... something like the Cell processor in the PS3... would be better. x86 is optimised for out-of-order execution (whatever it's called, basically code that jumps all over the shop) and Cell is in-order (good for physics processing aka math). I don't know for sure but am tempted to say that it would be the same, with the possible exception of the last digit if rounding's done differently. I mean, we're talking about simple mathematical operations, the result is either right or it isn't and if it isn't then it's a problem! Just my 2p.
That said there *was* a problem with floating point numbers in the early P6 (pentium 1) cores, if you google 'fdiv bug' all will be revealed.
That said there *was* a problem with floating point numbers in the early P6 (pentium 1) cores, if you google 'fdiv bug' all will be revealed.
buggalugs said:
I don't know for sure but am tempted to say that it would be the same, with the possible exception of the last digit if rounding's done differently. I mean, we're talking about simple mathematical operations, the result is either right or it isn't and if it isn't then it's a problem! Just my 2p.
yep, this is what i was thinking, at the very least for the same series of processors - though i'm optimistic that even the rounding should be the same - there must be IEEE or some standard for all processing hardware.buggalugs said:
That said there *was* a problem with floating point numbers in the early P6 (pentium 1) cores, if you google 'fdiv bug' all will be revealed.
yep, i am aware of the error in the division lookup table.fido said:
buggalugs said:
I don't know for sure but am tempted to say that it would be the same, with the possible exception of the last digit if rounding's done differently. I mean, we're talking about simple mathematical operations, the result is either right or it isn't and if it isn't then it's a problem! Just my 2p.
yep, this is what i was thinking, at the very least for the same series of processors - though i'm optimistic that even the rounding should be the same - there must be IEEE or some standard for all processing hardware.buggalugs said:
That said there *was* a problem with floating point numbers in the early P6 (pentium 1) cores, if you google 'fdiv bug' all will be revealed.
yep, i am aware of the error in the division lookup table.
Indeed, although the OP was looking at to the Nth digit computations, so really "If I set a P3 and a P4 off and have infinite time, would they always be showing the same digit at the same point in the calculation?"
I don't think they would as external forces would cause oddities. Plus different sets of cheat sheets. I'm also factoring in errors in manufacturing, the silicon wafer and potentially the machines that made everything else due to being designed by fleshy muppets
I don't however thing you'd notice it within your lifespan though
I don't think they would as external forces would cause oddities. Plus different sets of cheat sheets. I'm also factoring in errors in manufacturing, the silicon wafer and potentially the machines that made everything else due to being designed by fleshy muppets

I don't however thing you'd notice it within your lifespan though

Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


