Follow

do you have opinions about

*whispers*: negative zero

@cwebber [rubs chin thoughtfully] I don't think so?

@cstanhope have you ever had to spend some time exploring this thing called "IEEE 754"?

I think that's when people start to develop opinions

@cwebber my opinion is "thanks, I hate it" 😄

@cwebber I want an IEEE spec that includes all the orders of infinities, negative and positive are not good enough

also i heard on the internet the other day that trees aren't real

@joeyh are graphs real?

@joeyh more seriously: is binary real? yes or no only, please

@cwebber dunno, this was the trees you see outside

@cwebber "There are 255 possible representations of zero. They are all considered to be equal."

OOOHHH YEEAAAHH

@joeyh you dawg I heard you liked two representations of zero so

@cwebber I had one thermometer that would display -0°C sometimes…

> When an arithmetic operation has an input with an exponent of -128, the result will be nan. Applications are free to use the coefficient as they wish when the exponent is -128, since in that case the coefficient has no arithmetic significance. One possible use is to store object pointers in the coefficient.

👀

@marie_joseph @rysiek I suspect that comment in the document might be a joke, but who knows.

@marie_joseph @rysiek @cwebber ... This is what pretty much every JavaScript implementation does ...

@erincandescent @marie_joseph @rysiek really...???

@erincandescent @cwebber @marie_joseph dear lord.

@rysiek @cwebber @marie_joseph it's basically the One Weird Trick to high performance dynamic language implementations

You stuff your pointers into NANs or you go slow

@cwebber I guess another way to put it is: "Anything is a number if you're brave enough".

@cwebber If minus means below zero than negative zero is meaningless

@gargron how do you feel about IEEE 754

@cwebber Computer maths aren't real

@rysiek a o

@cwebber do you mean the social media app? I just stumbled upon it the other day in the App Store.

@aarongarcia I meant the "number"

@cwebber One's compliment is another's insult.

pride moth@amsomniac@mastodon.mit.edu@cwebber not a story the jedi would tell you