NeatNit

joined 10 months ago
[–] NeatNit@discuss.tchncs.de 1 points 6 months ago

To be fair, it turns out not all environments implement floating-point arithmetic by the IEEE spec, meaning division by 0 can produce different results depending on where you run it. So in C++ float division by zero is undefined: https://stackoverflow.com/questions/42926763/the-behaviour-of-floating-point-division-by-zero

But I'm fairly sure (note: based on literally no research) that most environments today will behave like the IEEE spec.

[–] NeatNit@discuss.tchncs.de 3 points 6 months ago

https://en.wikipedia.org/wiki/Division_by_zero#Floating-point_arithmetic

In IEEE arithmetic, division of 0/0 or ∞/∞ results in NaN, but otherwise division always produces a well-defined result. Dividing any non-zero number by positive zero (+0) results in an infinity of the same sign as the dividend. Dividing any non-zero number by negative zero (−0) results in an infinity of the opposite sign as the dividend. This definition preserves the sign of the result in case of arithmetic underflow.

[–] NeatNit@discuss.tchncs.de 6 points 6 months ago (4 children)

https://en.wikipedia.org/wiki/Division_by_zero#Floating-point_arithmetic

In IEEE arithmetic, division of 0/0 or ∞/∞ results in NaN, but otherwise division always produces a well-defined result. Dividing any non-zero number by positive zero (+0) results in an infinity of the same sign as the dividend. Dividing any non-zero number by negative zero (−0) results in an infinity of the opposite sign as the dividend. This definition preserves the sign of the result in case of arithmetic underflow.

[–] NeatNit@discuss.tchncs.de 8 points 6 months ago

Philosophy needs a better PR department

[–] NeatNit@discuss.tchncs.de 7 points 6 months ago

You can’t have 20 cleaners come in for an hour

quitter talk

[–] NeatNit@discuss.tchncs.de 2 points 6 months ago (1 children)

You seem confused, here are Mitchell and Webb to explain: https://youtube.com/watch?v=vB9JgxhXW5w

(jk of course)

[–] NeatNit@discuss.tchncs.de 6 points 6 months ago (1 children)
[–] NeatNit@discuss.tchncs.de 3 points 6 months ago

This is precisely what I meant, thanks!

[–] NeatNit@discuss.tchncs.de 4 points 6 months ago

The process that's used to kill, or in short, the 'kill process'.

(though I like the other answer better)

[–] NeatNit@discuss.tchncs.de 3 points 6 months ago

I have no idea if they are assisting, it's all baseless conjecture on my part! Sorry if that wasn't clear, I thought it was

view more: ‹ prev next ›