Slashdot is powered by your submissions, so send in your scoop


Forgot your password?
For the out-of-band Slashdot experience (mostly headlines), follow us on Twitter, or Facebook. ×

Comment: Re:Math doesn't approve (Score 4, Interesting) 1066 1066

Well, division by zero should never happen, but you want it to be handled gracefully in case it does. Nobody wants the autopilot in charge of a barge train to segfault. Basically, every variable in the system was stored three times, past value - current value - predicted future value. If I saw a zero, I could use the past value to get the sign of the zero, and work from there.

Comment: Math doesn't approve (Score 4, Interesting) 1066 1066

Division by zero if anything would be +infinity or -infinity depending on signs, not zero. A while ago I wrote an autopilot that handled division by zero by looking at the signs and setting the result to (maxpos) or (maxneg), the zero's sign being derived from the variable's last value scavenged from the PID function.

Comment: Re:Well, yes... (Score 1) 323 323

What I generally do with coercive people is conspicuously ignore them other than tell them "if you shout, I can't listen to you". Even works with muggers and cops, if you got the balls. It has happened to me, though, that I had to give a physics demo as to why you don't bring a knife or a taser to a polite conversation.

Without life, Biology itself would be impossible.