RE: logs and antilogs
- Posted by rforno at tutopia.com Oct 30, 2002
- 507 views
Have you tried ABC language from the Netherlands? It features exact arithmetic even beyound the decimals that are shown. For example: 1 / 3 = 0.3333333333333333333333333333333... When you multiply it back by 3, you get 1. It seems that it never loses precision. I do not know how they do that: perhaps maintaining the numbers as rational fractions. Regards. ----- Original Message ----- From: <Christian.CUVIER at agriculture.gouv.fr> Subject: RE: logs and antilogs > > > > Date: Tue, 29 Oct 2002 16:21:53 -0600 > > From: Kat <kat at kogeijin.com> > > Subject: RE: logs and antilogs (to Kat) > > > > ..... Besides, i hate to ask the > > > computer for a math answer, and get something like 2.99999999 when i > > > know the answer is 3. > > > > > > Kat > > If you don't give a clue to computer about the kind of result you need, > is it expected to guess? I think that's definitely a good AI problem, > isn't it? > BTW: did any CPU manufacturer fully implement MMIX specs yet? The #E > (epsilon) special register could be of some use in reducing these > annoying meanless decimals. MMX2's DAZ flag doesn't solve it all, far > from that.. > Good math software attempt to implement some form of cleverness, but > far from perfect, and they are so expensive... > > Regards > > CChris > > > >