From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: small example, using complex variables in Ada
Date: Fri, 11 Jun 2010 09:22:54 +0200
Date: 2010-06-11T09:22:50+02:00 [thread overview]
Message-ID: <1pm8pkha276px.hasdbg6wxhwv.dlg@40tude.net> (raw)
In-Reply-To: op.vd3r0bltxmjfy8@garhos
On Thu, 10 Jun 2010 23:15:37 +0200, Yannick Duch�ne (Hibou57) wrote:
> Le Thu, 10 Jun 2010 15:27:38 +0200, J-P. Rosen <rosen@adalog.fr> a �crit:
>> For output, rounding is specified in the standard. And BTW, the standard
>> does not specify IEEE (fortunately, it did not make the same mistake as
>> Java!).
> Which mistake ? (not to disagree, just to understand)
Making language hardware-dependent.
Plus, IEEE is not very good for computational and engineering tasks. In
particular, when programming in Ada, you should better kill IEEE semantics
regarding overflows for built-in types. E.g.
type Real is new Float range Float'Range; -- Now it works as it has to
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2010-06-11 7:22 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-09 10:49 small example, using complex variables in Ada Nasser M. Abbasi
2010-06-09 11:26 ` Ludovic Brenta
2010-06-09 23:50 ` Jerry
2010-06-10 1:03 ` Jeffrey R. Carter
2010-06-10 15:48 ` Colin Paul Gloster
2010-06-10 14:54 ` Ludovic Brenta
2010-06-10 16:21 ` Colin Paul Gloster
2010-06-10 17:37 ` Adam Beneschan
2010-06-10 17:57 ` Jeffrey R. Carter
2010-06-10 22:32 ` Randy Brukardt
2010-06-11 12:42 ` Colin Paul Gloster
2010-06-11 18:59 ` Randy Brukardt
2010-06-14 19:19 ` Colin Paul Gloster
2010-06-14 19:48 ` Nasser M. Abbasi
2010-06-17 7:44 ` Gautier write-only
2010-06-17 10:33 ` Colin Paul Gloster
2010-06-17 14:39 ` Yannick Duchêne (Hibou57)
2010-06-17 16:36 ` Colin Paul Gloster
2010-06-09 12:43 ` Niklas Holsti
2010-06-10 7:23 ` Stephen Leake
2010-06-10 9:12 ` J-P. Rosen
2010-06-10 11:03 ` Yannick Duchêne (Hibou57)
2010-06-10 13:27 ` J-P. Rosen
2010-06-10 21:15 ` Yannick Duchêne (Hibou57)
2010-06-11 7:22 ` Dmitry A. Kazakov [this message]
2010-06-11 8:48 ` J-P. Rosen
2010-06-11 12:00 ` Brian Drummond
2010-06-10 9:34 ` Nasser M. Abbasi
2010-06-10 20:12 ` Simon Wright
2010-06-14 9:33 ` Vincent LAFAGE
2010-06-14 12:29 ` Nasser M. Abbasi
2010-06-14 13:00 ` Vincent LAFAGE
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox