comp.lang.ada
 help / color / mirror / Atom feed
* Why raises this an error? :-(
@ 2002-03-16 19:48 Kai Gläsner
  2002-03-16 20:32 ` Damien Carbonne
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Kai Gläsner @ 2002-03-16 19:48 UTC (permalink / raw)


Hello community,

while porting an c++ math-library to Ada95 (Gnat 3.12p under Linux) I
experienced:

This:

    Alt_D := (-8.0/4.0) ** 2.0;

raises this:

    raised ADA.NUMERICS.ARGUMENT_ERROR : a-ngelfu.adb:111 instantiated
at a-nuelfu.ads:20

This:

    Alt_D := -2.0 ** 2.0;

works fine!

Why? What have I overlooked here... :-/

Thanks in advance for an answer...

Kai Glaesner



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-03-17 16:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-16 19:48 Why raises this an error? :-( Kai Gläsner
2002-03-16 20:32 ` Damien Carbonne
2002-03-17 16:31   ` Steve Doiel
2002-03-16 20:37 ` Jeffrey Carter
2002-03-16 22:01   ` Kai Gläsner
2002-03-17  5:39     ` Jeffrey Carter
2002-03-17  7:25       ` Hyman Rosen
2002-03-16 22:12 ` Kai Gläsner
2002-03-17  1:06   ` tmoran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox