On Nov 5, 2023, at 7:52 PM, 'jim.bra...@ieee.org' via Unum Computing <unum-co...@googlegroups.com> wrote:
Am wondering about you current stance on the the use of an exact/inexact bit?(slides 30 & 31)
--
You received this message because you are subscribed to the Google Groups "Unum Computing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unum-computin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unum-computing/0b30a52d-2358-4b58-8b10-74a25a3a2da6n%40googlegroups.com.
On Nov 6, 2023, at 11:35 AM, 'jim.bra...@ieee.org' via Unum Computing <unum-co...@googlegroups.com> wrote:"It seems to be tough to get correct arithmetic on real numbers to be a mainstream idea, and in demand!"It seems the entire commercial world is bent on least expensive product, with no room for style, grace or long term quality.I think I am correct in saying that unbiased rounding of whatever variety uses alternating open on both ends /closed on both ends intervals? This is visually appealing and makes the round-to-nearest rule a consequence.
The last open interval (in magnitude) then "encompasses infinity? And the closed interval at the other end encompasses zero, ugh from both sides?
While pondering how to encompass exact and inexact numbers without a specific flag bit that takes a bit from the fraction/mantissa,the thought occurred that exact numbers are relatively rare compared to in-exacts and might fit into the code space of 754 NaNs.
Such does not seem possible with Posits as there is no unused encoding space?
Currently struggling to make sense of all the different round-to-odd meanings.Today happened upon Sylvie Boldo's very recent paper:which looks forward to reexamining floating point implementations.
On Monday, November 6, 2023 at 10:40:17 AM UTC-6 johngustafson wrote:If you use a pair of posits where the last bit is the exact/inexact bit, you get what I call a "valid", capable of expressing closed, open, and half-open intervals, as well as the extended reals with ±∞, and the empty set. Overflow and underflow are handled very logically as the interval between the largest magnitude numbers and ±∞, or between zero and the smallest magnitude numbers. They can then do all the things described in The End of Error: Unum Computing, but the precision is fixed. Fixed precision makes them more hardware-friendly, but less able to economize by shrinking the representation to match the knowledge about the bound.In the marketplace of ideas, perfect computation with real numbers always seems to lose to "good enough and fast" computation. There is a tiny group of us who feel otherwise, but I have to acknowledge the reality that computer users seldom want to pay the price of a guaranteed bound on the rounding error. That's why my next book will focus on making rounded arithmetic as good as it possibly can be, with only a chapter or two on valids.I still see papers coming out on Type II unums and SORNs (Sets Of Real Numbers), which are even more powerful than intervals since they can represent disconnected sets of real numbers, yet still look like machine arithmetic for hardware.IBM got a lesson back in the 1990s when they introduced their ACRITH environment that guaranteed floating-point answers correct to half a unit in the last place (0.5 ULP), which is like doing an entire computing task with exact arithmetic and then rounding. It ran about three times slower than normal float arithmetic. It didn't sell, and IBM dropped it as a product offering.Since the IEEE 1788 Standard was finished for interval arithmetic (closed intervals only, and no exact dot product accumulator), there have been no takers. About ten years, and no commercial product offerings.It seems to be tough to get correct arithmetic on real numbers to be a mainstream idea, and in demand!JohnOn Nov 5, 2023, at 7:52 PM, 'jim.bra...@ieee.org' via Unum Computing <unum-co...@googlegroups.com> wrote:Am wondering about you current stance on the the use of an exact/inexact bit?(slides 30 & 31)--
You received this message because you are subscribed to the Google Groups "Unum Computing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unum-computin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unum-computing/0b30a52d-2358-4b58-8b10-74a25a3a2da6n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Unum Computing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unum-computin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unum-computing/01ae04e6-aaee-428d-b0e3-b7342d5de3c5n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unum-computing/a921f724-4580-439c-b44b-6379b27c135en%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unum-computing/9311af09-a9dc-4db2-a32f-d4d34863f403n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unum-computing/d35f6cb3-a153-40e9-a1a5-0eec85d734a5n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unum-computing/d1c869d7-7aa1-4289-9754-20ac0b8a5cbfn%40googlegroups.com.
I like your idea of [NaR, NaR} for ∅. That's more logical than what I suggested. Though it does mean we can only express (–∞,∞) and not [–∞,∞]. Hmm…If you go through the IEEE Std 754 looking at every statement that pertains to signed zero, you find no mathematical consistency. Sometimes both are exact zero. But the reciprocal of –0 is –∞ and the reciprocal of +0 is +∞. What should –0 minus +0 be?
This is all the result of the choice John Palmer made in the late 1970s in designing the i8087 coprocessor. It was common back then to just carve up the bit fields and assign each a meaning, rather than consider something more like Dedekind cuts as you read each bit from MSB to LSB the way posits do. When Kahan was hired by Intel, he was tasked with justifying the i8087 design choices, and I'm sure he struggled with defending negative and positive zero.
Kahan finally came up with an application to functions with branch cuts in the complex plane along the negative x-axis, like log and square root. But that application means treating +0 as (0, minReal) and –0 as (–minReal,0) which are completely different mathematical entities from zero.John
To view this discussion on the web visit https://groups.google.com/d/msgid/unum-computing/d35f6cb3-a153-40e9-a1a5-0eec85d734a5n%40googlegroups.com.