On Wed, Nov 12, 2008 at 8:56 AM, Stavros Macrakis <macrakis at alum.mit.edu> wrote:
> The consistent thing to do is to give an error as with 1/0.
At present I think that is the best we can do.
Incidentally the trig functions have various behaviors.
cot(0) => The number 0 isn't in the domain of cot
cot(%pi) => cot(%pi)
csc(%pi) => Division by 0
and ftr log(0) => log(0) has been generated
I'm inclined to think these should all trigger the domain-error message
(maybe rephrased, maybe not).
FWIW
Robert Dodier