🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.forth
Article #170

Re: Tests for (DDFS.)

#170
From: Anton Ertl
Date: Thu, 22 Oct 2026 16:42
34 lines
2726 bytes
Krishna Myneni <krishna.myneni@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
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: https://forth-standard.org/
EuroForth 2026 CFP: http://www.euroforth.org/ef26/cfp.html
Technical Details
Message-ID: <2026Oct22.184253@mips.complang.tuwien.ac.at>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11b7rcu$31u3u$1@dont-email.me> <11b8427$35l54$1@dont-email.me> <11b887g$p2rm$1@dont-email.me> <6ad8043a$1@news.ausics.net> <11b9pei$28p9l$1@dont-email.me> <2026Oct22.083247@mips.complang.tuwien.ac.at> <11bd02k$r3dq$1@dont-email.me> <11bd0a5$r3dq$2@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Tests for (DDFS.)
Date: Thu, 22 Oct 2026 16:42:53 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 34
Message-ID: <2026Oct22.184253@mips.complang.tuwien.ac.at>
References: <11b7rcu$31u3u$1@dont-email.me> <11b8427$35l54$1@dont-email.me> <11b887g$p2rm$1@dont-email.me> <6ad8043a$1@news.ausics.net> <11b9pei$28p9l$1@dont-email.me> <2026Oct22.083247@mips.complang.tuwien.ac.at> <11bd02k$r3dq$1@dont-email.me> <11bd0a5$r3dq$2@dont-email.me>
Injection-Date: Thu, 22 Oct 2026 16:46:14 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1070965"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18P2bW2CgZEjRW/tn9NteZN"; posting-host="149e461fbbae38ec7b7c6c8f4381520c"
Cancel-Lock: sha1:KWOpc+iD/Z3rkv7uc9mV8u0CbHs= sha256:wd4wFFYQai+eFANOxT7aC6ZhrYWcFeLk+Ubpzy1rCko=
	sha1:bfSsRXunXwCSLbDquapABqx8IkU= sha256:/D61nXjQ0XUtE4/mXQV6t9QbK20YTGiJWWr+OC0XvYA=
X-newsreader: xrn 10.11