On 2005-03-13 15:26:05 +0100, Gabriel Dos Reis wrote:
> Vincent Lefevre <[EMAIL PROTECTED]> writes:
> | When one uses the power notation in mathematics, one (almost) never
> | says when the context is a function R x R -> R or R x Z -> R or
> | whatever.
> 
> That is (almost) absolutely false.

Yourself didn't mention the context.

> | The problem is the same in ISO C99 (and probably other languages),
> 
> Other languages do make the distinction.  That C99 did not have the
> syntax for that is a defect rather than virtue. Examples have been
> provided, but I guess you prefer to ignore them.

But the point is that C99 doesn't make the different. So, gcc should
make sure that in C, cpow((0,0),(0,0)) is equal to 1, to be able to
use cpow as an integer power function.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA

Reply via email to