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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,183ebe04e93f0506 X-Google-Attributes: gid103376,public From: Ken Garlington Subject: Re: fixed point vs floating point Date: 1997/12/02 Message-ID: <3484D37E.E68@nospam.flash.net>#1/1 X-Deja-AN: 294725960 References: Reply-To: Ken.Garlington@nospam.computer.org Organization: Flashnet Communications, http://www.flash.net Newsgroups: comp.lang.ada Date: 1997-12-02T00:00:00+00:00 List-Id: Joe Gwinn wrote: > > Portability is less important than workability. And, we were always assured that use > of Ada guaranteed portability. Apparently that was a lie; we also need to > be Ada experts to achieve portability? Just like all other languages? In my experience - absolutely. If you assume that X is portable just because it happens to work when processed with a particular vendor's implementation of X, you are probably going to be disappointed. (Just to save you grief in the future, feel free to plug in any of the following for X: Ada, C++, Java, POSIX, CORBA, etc.) > Well, you are obsessing on the fact that I don't recall ten years later > all the details of how to do fixed point arithmetic in Ada83, which we > never used except to test. And, you are proving my basic point, that with > all that user-supplied information, Ada83 should be able to handle fixed > point arithmetic. This is just some added information, clearly not > absolutely required information, because Ada95 no longer always requires > it. Ada no longer requires it for trivial cases. For many intermediate calculations of this type, you still have to explicitly specify the resulting type. > And, I really don't see why it's necessary to deny the failings of > compilers that have been obsolete for at least a decade, for a now > superceeded language. Surely we can find something more current and > relevant to worry about, to argue about. I'm confused. If the behavior you described is not relavant, why did you bring it up?