RE: Low-level math op behavior

2004-08-24 Thread Dan Sugalski
At 11:34 AM -0400 8/24/04, Butler, Gerald wrote: So, would it have things like $i = $j /E $k $i = $j %E $k which would both throw and exception if $k == 0 whereas $i = $j / $k $i = $j % %k would not throw an exception and would instead return NaN That'd be the plan, yeah. $i wouldn'

RE: Low-level math op behavior

2004-08-24 Thread Butler, Gerald
So, would it have things like $i = $j /E $k $i = $j %E $k which would both throw and exception if $k == 0 whereas $i = $j / $k $i = $j % %k would not throw an exception and would instead return NaN -Original Message- From: Dan Sugalski [mailto:[EMAIL PROTECTED] Sent: Tu

Re: Low-level math op behavior

2004-08-24 Thread Doug McNutt
At 11:29 -0400 8/24/04, Dan Sugalski wrote: >What I'm thinking is that we add an O or X (or E, I don't care. I suppose we could >get more verbose there too) variant to the basic math ops which checks the result for >validity and throws an exception on something exceptional happening. For floatin