i stumbled across a post and got to wondering what Julians thought of it ...

  http://www.walkingrandomly.com/?p=5152


the author presents the case that Python is not IEEE compliant, but
MATLAB is and Julia is close:

"From the wikipedia page on Division by Zero 
<http://en.wikipedia.org/wiki/Division_by_zero>: *“The IEEE 754 
standard specifies that every floating point arithmetic operation, 
including division by zero, has a well-defined result”.*


the author reports that in Julia

julia> 1/(-0)
Inf


but MATLAB "correctly" returns -Inf ...


i am not sure that signed zero (-0)
means anything to me ...

should it?

many thanks,

cdm


Reply via email to