zlacker

[return to "The largest number representable in 64 bits"]
1. firebo+vJ6[view] [source] 2023-11-27 23:42:56
>>tromp+(OP)
You just need posits! John Gustafson will teach you how. Amazing concept. It would be amazing to see it in more hardware. It's especially good for AI and numerous other applications. Puts floats to shame. Of course this guy starts with integers, which are great, but for floats posits are amazing especially if you can control the bits dedicated to each 'fraction'.
◧◩
2. lifthr+S97[view] [source] 2023-11-28 03:10:04
>>firebo+vJ6
Posits would have been good if it was invented back when there was no standard floating point format. But it is not a tremendous upgrade from IEEE 754, which has lots of issues but so do posits. A customizable IEEE 754 would fare more or less equally to customizable posits, and AI workloads (especially for inference) shy away from floats nowadays because they need much finer control than what either IEEE 754 or posits can offer.
◧◩◪
3. firebo+FL9[view] [source] 2023-11-28 21:55:14
>>lifthr+S97
All you gotta do is look at the graphs to see posits are more accurate and precise for pretty much any given scenario, assuming the bits are distributed 'wisely'. Unfortunately, it's not easy to do in hardware and the hardware implementations suffer from rigidness.

I don't really want to get into the nitty gritty, as John will answer emails regarding this stuff. I've personally done so, and he's very polite and informative. I was using them for fractals, but using them in software, which was unfortunately very slow, but the results were amazing. I've read through his papers on them and it took me a while to really 'get it', but I did and oh man, even basic unums put floats to shame. While perhaps not a tremendous upgrade, I much prefer the distribution and accuracy and how there's far less overlap, NaNs, infinities, etc.

◧◩◪◨
4. lifthr+Jta[view] [source] 2023-11-29 02:11:25
>>firebo+FL9
I don't think you need to explain everything again because I am aware of posits' strengths over IEEE 754, that's why I acknowledged that first. But as an incremental improvement from IEEE 754, posits are just not enough to justify the switch. When people need something better served by posits, they don't use posits---they use non-standard variants of IEEE 754 (e.g. FTZ/DAZ, bfloat16).
◧◩◪◨⬒
5. firebo+Ekd[view] [source] 2023-11-29 21:26:53
>>lifthr+Jta
I guess we just disagree. I find the distribution of posits very logical, and I can see your points, but I digress.
[go to top]