re: AMD (fwd)

Adam D. Bradley (bradley@cs.unca.edu)
Sun, 22 Dec 1996 01:14:12 -0500 (EST)


> On Sun, 22 Dec 1996, Bryn Paul Arnold Jones wrote:
>
> > On Sat, 21 Dec 1996, Rob Glover wrote:
> >
> > >
> > > here is an example.. a 486dx2-66 is just a 486 33MHz CPU with its internal
> > > clock DOUBLED, to make it 66MHz. The same idea as above.. the CPU above
> > > is jsut a 486-33 class CPU with its internal clock QUADUPLED. 33 * 4 =
> > > 132. <they do a bit of funny math to work it up to 133 :>
> > >
> > > -Rob
> > Hmm, isn't the clock speed really 33 and a 1/3 ? that way we get the
> > 33/66/100/133/166/200 progresion as long as we allways round down.
> <SNIP!>
> _ _
> Well, they still have to do a bit of funny math... 33.33 * 3 = 99.99
> <this is an example of 100 :>

You've been thinking in floating-point too long... ;-)
_
x = 33.33 _
10x = 333.33 _ _
10x - x = 333.33 - 33.33
9x = 300
x = 300/9 = 100/3
3x = 100 even, no infinitessimal error or "funny math"

Remember this one? I remember a Borland compiler doing this just a
few years ago...

x = -3.000;
x += 3.000;
(x == 0.000) -> FALSE
(x == -0.000) -> TRUE

Ah, the linguistics of digital mathematics...
Adam

--
He feeds on ashes; a deluded mind has led him    Adam Bradley, UNCA Senior
astray, and he cannot deliver himself or say,             Computer Science
"Is there not a lie in my right hand?"   Isaiah 44:20
        bradley@cs.unca.edu       http://www.cs.unca.edu/~bradley      <><