On 10/16/26 9:37 PM, dxf wrote:
> On 16/10/2026 4:12 pm, Anton Ertl wrote:
>> dxf <dxfo…@gmail.com> writes:
>>> On 15/10/2026 4:55 pm, Anton Ertl wrote:
>>>> dxf <dxfo…@gmail.com> writes:
>>>>> On 14/10/2026 7:25 pm, Anton Ertl wrote:
>>>>>> What is an "imprecise number"? In any case, every FP number has a >>>>>> precise value. It may not be the value you are interested in, but >>>>>> that does not make the value any less precise. And thinking about FP >>>>>> numbers as "imprecise" or intervals etc. leads you down the path to >>>>>> wrong conclusions.
>>>>> >>>>> If the recently-dubbed "high quality" REPRESENTs aren't printing out >>>>> intervals then what are they doing? Following the leader?
>>>> >>>> If you give a precise REPRESENT a big-enough buffer, it gives you the >>>> decimal representation of the floating-point value, exactly.
>>> >>> It gives a decimal representation of the nearest storage slot that the >>> floating-point value was assigned.
>> >> Storage slot? Are your postings AI slop?
> > Did you have a problem understanding it? I've never used AI. >
>> Anyway, every binary FP number can be represented exactly as decimal >> number, but some FP numbers need a large number of digits in decimal >> representation. Gforth's E.EXACT outputs this decimal representation, >> when based on an appropriate ecvt_r() (such as that in glibc 2.36). >>
>>> That floating-point value never had >>> more than 17 useful digits.
>> >> How many digits are useful depends on the use. In particular, if you >> want to know the exact decimal representation of an FP value, often >> more than 17 digits are necessary, and therefore, for this use, >> useful.
> > There's 'uses' but you can't give any. >
Yes, you are clearly smarter than the entire IEEE 754 standards committee, which specified that a system should leave the number of digits requested in a binary to decimal conversion to be unbounded. One use case clearly shows up in this thread with Marcel's implementation of xdfloats.