Article View: net.lang.ada
Article #1047Re: An Ada quiz on type conversions
From: Anton Gibbs
Date: Mon, 03 Nov 1986 13:59
Date: Mon, 03 Nov 1986 13:59
16 lines
1104 bytes
1104 bytes
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
Technical Details
Message-ID:
<738@argon.idec.stc.co.uk>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!husc6!seismo!mcvax!ukc!stc!idec!antonReferences:
<38000033@gypsy.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!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 Lines: 16