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.1 required=5.0 tests=BAYES_40,INVALID_DATE, MSGID_SHORT autolearn=no autolearn_force=no version=3.4.4 Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!husc6!seismo!mcvax!ukc!stc!idec!anton From: anton@idec.stc.co.uk (Anton Gibbs) Newsgroups: net.lang.ada Subject: Re: An Ada quiz on type conversions Message-ID: <738@argon.idec.stc.co.uk> Date: Mon, 3-Nov-86 08:59:46 EST Article-I.D.: argon.738 Posted: Mon Nov 3 08:59:46 1986 Date-Received: Wed, 5-Nov-86 06:23:45 EST References: <38000033@gypsy.UUCP> Organization: STC Technology Ltd, Stevenage, UK List-Id: In article 899, on the uncertainty of integer type conversion, Dave Emery, concludes: " So the implementor can pick how he wants to round. This strikes me as a portability bug, but, on the other hand, I don't have a lot of sympathy for people who depend on these kinds of type conversion...." Obtaining the integer part of a real number strikes me as a reasonable thing to want to do in a software engineering application. How are you meant to do this in Ada ? -- Regards, Anton Gibbs <..seismo!mcvax!ukc!stc!idec!anton> +44 438 726161 x8283