10:10 | <Aapo Alasuutari> | I ran into a question I thought people here might know the answer to immediately: IEE754 can exactly represent integers in the inclusive range [-2^53, 2^53] yet JavaScript's safe integer min and max define the range as exclusive at both ends; why is that? |
10:19 | <nicolo-ribaudo> | Because 2^53 and 2^53+1 are the same number, so you don't know if when you have a 2^53 you actually meant 2^53. It's not enough to be able to represent a number exactly, you want that representation to also not represent other numbers |
14:59 | <Aapo Alasuutari> | Ah, makes sense. Thank you. |