Krishna Myneni <kris…@ccreweb.org> writes:
>On 10/22/26 7:37 AM, Krishna Myneni wrote:
>> On 10/22/26 1:32 AM, Anton Ertl wrote:
>
>>> ...  However, given that the program >>> usually does not compute this information, the Gforth words that you >>> can pass a precision to, such as F.RDP and E.P, treat it as a minimum >>> rather than exact number of significant digits to be shown, i.e., they >>> may show more digits.  E.g.: >>> >>> 123e 2 e.p \ prints "123e" >>>
>> >> This sort of behavior, not getting what you asked for, is not likely to >> be used by the scientific community. In calculations or experiments, it >> is important to show the actual number of significant digits. >> >>
> >In calculations or experiments, it is important to show the actual >number of *requested* significant digits, often followed by an >uncertainty estimate. If an uncertainty is not specified, then the >uncertainty is assumed to be +/-5 units in the n+1th digit, where n is >the number of significant digits shown.
E.P is obviously not made for showing 1.2e2, but I see no harm in showing 123e +/-5e - anton