Date: Tue, 15 Sep 2026 13:11:11 +1000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: ddfloat library: the behavior of >dd Newsgroups: comp.lang.forth References: <117uplc$160ff$1@dont-email.me> <6aa3648f$1@news.ausics.net> <1180jpe$16qki$1@dont-email.me> <1181v83$17dme$1@dont-email.me> <11829tr$3chqi$1@dont-email.me> <11833g2$1818h$1@dont-email.me> <6aa549e4$1@news.ausics.net> <6aa58871$1@news.ausics.net> <1185hme$195e1$1@dont-email.me> <6aa769c9$1@news.ausics.net> <1188a3t$2v3j3$1@dont-email.me> <6aa7c5cf$1@news.ausics.net> <1188htd$2vabu$1@dont-email.me> <6aa7e1b3$1@news.ausics.net> <1188p58$1al9l$1@dont-email.me> <6aa81377$1@news.ausics.net> <1189gnf$1qn4q$1@dont-email.me> <1189l8g$1sbns$1@dont-email.me> Content-Language: en-GB From: dxf In-Reply-To: <1189l8g$1sbns$1@dont-email.me> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: news.ausics.net Message-ID: <6aa8b74f@news.ausics.net> Organization: Ausics - https://newsgroups.ausics.net Lines: 29 X-Complaints: abuse@ausics.net Path: csiph.com!news.nrbbs.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.ausics.net!not-for-mail Xref: csiph.com comp.lang.forth:135707 On 15/09/2026 6:25 am, Krishna Myneni wrote: > On 9/14/26 2:08 PM, marcel hendrix wrote: >> On 9/14/2026 5:32 PM, dxf wrote: > ... >> The plain limit here is currently >> FORTH> S" 1e304" >dd >>  >DD :: exponent too large or too small >> >> That is because I want to be able to write >> FORTH> S" 10000e303" >dd ddfe. 1.000000000000000000000000000000e307 >> >> IMO, for all practical purposes this is more than sufficient. > > Yet, one should check whether or not it's technically correct for double-double arithmetic. > > We need to go back to Bailey's ddfun package to see how he did the >DD conversion. > > My two cents. On regular double-precision systems the limitation will be DD* DD/ which makes 10^307 math impractical irrespective of >DD . I suspect Marcel's 80-bit intermediates/variables is giving him a bit more range. FWIW my latest version is here: https://pastebin.com/bcbFUZF0 Numbers out of range will be printed as **DD** . Bug reports welcome.