🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.forth
Article #157

Re: Tests for (DDFS.)

#157
From: dxf
Date: Wed, 21 Oct 2026 00:15
16 lines
1622 bytes
On 21/10/2026 4:26 am, marcel hendrix wrote:
> On 10/20/2026 6:15 PM, Krishna Myneni wrote:
>> On 10/20/26 8:47 AM, Krishna Myneni wrote:
>> ...
>>>
>>> ...
>>> The output shows that (DDFS.) as presently implemented in dd_io.4th fails for one of the test cases (test 2), and probably for many more cases.
>>> ...
>>
>> Typing the string outputs from (FS.) and (DDFS.) shows that (DDFS.) is not rounding properly.
> Simply setting the low part of a double double to 0 might be a bit too simplistic? Is the difference in the range of 1e-15 .. 1e-17 ?

I wasn't aware any JVN packages performed rounding.  AFAIK some implementations
(yours?) limited numbers printed to PRECISION but that this was truncation - not
rounding.  Rounding presented a whole new problem - why I never attempted it.
Technical Details
Message-ID: <6ad8043a$1@news.ausics.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.ausics.net!not-for-mail
References: <11b7rcu$31u3u$1@dont-email.me> <11b8427$35l54$1@dont-email.me> <11b887g$p2rm$1@dont-email.me>

Show Full Headers
Complete Article Headers
Date: Wed, 21 Oct 2026 11:15:54 +1100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Tests for (DDFS.)
Newsgroups: comp.lang.forth
References: <11b7rcu$31u3u$1@dont-email.me> <11b8427$35l54$1@dont-email.me>
 <11b887g$p2rm$1@dont-email.me>
Content-Language: en-GB
From: dxf <dxforth@gmail.com>
In-Reply-To: <11b887g$p2rm$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: news.ausics.net
Message-ID: <6ad8043a$1@news.ausics.net>
Organization: Ausics - https://newsgroups.ausics.net
Lines: 16
X-Complaints: abuse@ausics.net
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.ausics.net!not-for-mail