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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,37680a99b5e22b2b X-Google-Attributes: gid103376,public From: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson) Subject: Re: Shared Generic Instance Code Date: 1997/04/04 Message-ID: <5i23k6$hkq@mulga.cs.mu.OZ.AU>#1/1 X-Deja-AN: 230584212 References: <5hrkhkINN9ip@snoopy.cis.ohio-state.edu> <1997Apr1.201631.28634@ocsystems.com> Organization: Comp Sci, University of Melbourne Newsgroups: comp.lang.ada Date: 1997-04-04T00:00:00+00:00 List-Id: dewar@merv.cs.nyu.edu (Robert Dewar) writes: >Shared code would add a LOT of complexity. Consider for example a generic >formal type "digits <>". Now this code must handle all possible lengths >of floating-point. > >This is easy if you have only one length (that's what the Rational compiler >used to do), or if you do everything in the longest type, and don't worry >too much that you are cheating on operatoins like Unchecked_Conversion >(that's what RR used to do), Could you be a bit more specific about what you mean by "cheating on operations like Unchecked_Conversion"? In what sense did RR "cheat"? -- Fergus Henderson | "I have always known that the pursuit WWW: | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp.