Re: Tetrits and "stickiness"
On 2010-04-26 14:32:57 +0100, John Pryce wrote:
> Take Ian's second point first. An illustration is the function
> f(x) = (x>=0) * sqrt(x)
> where (following the convention of C-style languages) I treat >= as
> a mathematical function on R x R that returns 0 or 1.
> Q: f(-1) evaluates as (0)*(undefined). Mathematically, is this 0, or
> undefined? I strongly go for undefined. What do others think?
I fear that choosing 0 could lead to logical contradiction in some
cases. I find this choice dangerous.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)