Subject: RE: arguments to power
From: Martin O'Leary (oleary@cadence.com)
Date: Mon Jun 03 2002 - 15:52:38 PDT
Sri,
my take is that the LRM should state that this is an error condition
and not be allowed.
Thanks,
--Martin
> -----Original Message-----
> From: Srikanth Chandrasekaran [mailto:schandra@asc.corp.mot.com]
> Sent: Saturday, May 25, 2002 2:12 AM
> To: Verilog-AMS Committee
> Subject: arguments to power
>
>
> What should be value of
> pow (0, -1.2);
>
> Should this be treated as an error condition (0 to the power
> of negative
> number)? gcc does not error on this condition but returns
> -Inf, but the
> current BNF does not handle Inf or NaN as values.
>
> cheers,
> Sri
> --
> Srikanth Chandrasekaran
> Global Software Group, EDA SBU
> Motorola Australia.
> Phone: +61-8-8168 3592 Fax: x3501
>
This archive was generated by hypermail 2b28 : Mon Jun 03 2002 - 15:55:37 PDT