From: Jerry <lanceboyle@qwest.net>
Subject: Re: GNAT does not consistently raise an exception to log(0.0)
Date: Sat, 13 Jul 2013 20:34:34 -0700 (PDT)
Date: 2013-07-13T20:34:34-07:00 [thread overview]
Message-ID: <128ea79c-a76d-47a9-a07b-87971bd58d94@googlegroups.com> (raw)
In-Reply-To: <pikl8lmiksxt$.tqqkmx1qc8x6$.dlg@40tude.net>
On Saturday, July 13, 2013 12:26:18 AM UTC-7, Dmitry A. Kazakov wrote:
> On Fri, 12 Jul 2013 17:52:08 -0700 (PDT), Jerry wrote:
>
snip
> I suppose that here you get the exception rather from Long_Float'Image,
> when it stumbles on NaN or whatever garbage log returned.
No, the exception is Constraint_Error and it is raised from the log call. Long_Float'Image is capable of reporting -Inf.
>
> --
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2013-07-14 3:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-13 0:52 GNAT does not consistently raise an exception to log(0.0) Jerry
2013-07-13 1:47 ` Anh Vo
2013-07-13 2:12 ` Jerry
2013-07-13 2:28 ` Anh Vo
2013-07-13 3:33 ` Jerry
2013-07-14 3:28 ` Jerry
2013-07-14 13:35 ` Anh Vo
2013-07-15 8:25 ` Jerry
2013-07-13 7:26 ` Dmitry A. Kazakov
2013-07-14 3:34 ` Jerry [this message]
2013-07-14 3:51 ` Jerry
2013-07-13 7:34 ` Simon Wright
2013-07-14 3:42 ` Jerry
2013-07-13 9:37 ` AdaMagica
2013-07-14 3:44 ` Jerry
2013-07-15 17:16 ` AdaMagica
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox