Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!purdue!decwrl!ucbvax!NOSC-TECR.ARPA!CONTR47 From: CONTR47@NOSC-TECR.ARPA Newsgroups: comp.lang.ada Subject: Ada and decimal arithmetic Message-ID: <8806291300.AA28408@ajpo.sei.cmu.edu> Date: 29 Jun 88 13:03:42 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 12 Perhaps Ada universal arithmetic is the answer to your needs. The code for Universal_Integer_Arithmetic and Universal_Rea{_Arithmetic are presented by Gerry Fisher in Ada Letters May, June 1984 pgs 6.30-6.47. I remember seeing some Fisher programs where all of the computing was done at elaboration time using universal math and the executable body was "null;". Thats one way to make the program get a universal answer but in your case for a more general solution the programmer should be able to declare objects of type Universal_integer etc. Hope this helps. regards, sam harbaugh ---------------------