comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: Why raises this an error? :-(
Date: Sun, 17 Mar 2002 05:39:34 GMT
Date: 2002-03-17T05:39:34+00:00	[thread overview]
Message-ID: <3C942C08.FB78C653@acm.org> (raw)
In-Reply-To: 3C93C0C9.14A5FC7D@t-online.de

Kai Gl�sner wrote:
> 
> But why is the value of the left operand not allowed to be negative
> according to the ARM?

Both the ARM and the AARM are silent on this. A possible reason is that
X ** Y may be implemented as

exp (log (X) * Y)

and you cannot take the log of a negative value. This is simply a guess
on my part, though.

-- 
Jeff Carter
"Your mother was a hamster and your father smelt of elderberries."
Monty Python & the Holy Grail



  reply	other threads:[~2002-03-17  5:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2002-03-17  7:25       ` Hyman Rosen
2002-03-16 22:12 ` Kai Gläsner
2002-03-17  1:06   ` tmoran
replies disabled

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