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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, WEIRD_PORT autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,587583eece659d7a,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-16 11:49:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Kai =?iso-8859-1?Q?Gl=E4sner?= Newsgroups: comp.lang.ada Subject: Why raises this an error? :-( Date: Sat, 16 Mar 2002 20:48:44 +0100 Organization: T-Online Message-ID: <3C93A19C.67D6E442@t-online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 1016308114 03 1221 VaPyTVCSGAAUh 020316 19:48:34 X-Complaints-To: abuse@t-online.com X-Sender: 320068638902-0001@t-dialin.net X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:21337 Date: 2002-03-16T20:48:44+01:00 List-Id: 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