On Tue, 5 Dec 2006, Richard Guenther wrote:

> is whether a correctly rounded "exact" cbrt differs from the pow
> replacement by more than 1ulp - it looks like this is not the case.

They fairly obviously differ for negative arguments, which are valid for 
cbrt but not for pow (raising to a fraction with even denominator).  (The 
optimization from pow to cbrt is valid if you don't care about no longer 
getting a NaN from a negative argument.  Converting the other way (cbrt to 
pow) is only OK if you don't care about negative arguments to cbrt at 
all.)

-- 
Joseph S. Myers
[EMAIL PROTECTED]

Reply via email to