logoalt Hacker News

adampunkyesterday at 12:28 AM1 replyview on HN

Makes you wish everyone agreed on extended precision!


Replies

cremeryesterday at 8:38 AM

careful what you wish for, x87's extended precision is what wrote the original bug: 80 bits in registers,64 on a spill, so the value depended on register pressure

ARM and WASM dropped it for a reason, and more bits would not help anyway, a sign is one bit, any rounding step that disagrees at the last bit flips it