arguments to power


Subject: arguments to power
From: Srikanth Chandrasekaran (schandra@asc.corp.mot.com)
Date: Sat May 25 2002 - 02:12:25 PDT


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 : Sat May 25 2002 - 02:13:52 PDT