From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 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 List-Id: 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 ---------------------