Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: minforth Newsgroups: comp.lang.forth Subject: Re: Parsing timestamps? Date: Thu, 10 Jul 2025 12:14:24 +0200 Lines: 21 Message-ID: References: <1f433fabcb4d053d16cbc098dedc6c370608ac01@i2pn2.org> <6fd9f665e73ad93270fff88eca894ba69424cac7@i2pn2.org> <87a55dxbft.fsf@nightsong.com> <104nut3$pc8e$1@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net RdsTO0MHDsTZcp2m6Bv2Qg6dGY+yUTgnYu+W+MG0nXkxXjHzlN Cancel-Lock: sha1:m6gLAYl9bEVkew1QiEKGWFYkHuA= sha256:EP/C3DTJLAw9Erl6evbPrpAH2AsdUhaHJGoGVW7nLh8= User-Agent: Mozilla Thunderbird In-Reply-To: <104nut3$pc8e$1@dont-email.me> Xref: csiph.com comp.lang.forth:134009 Am 10.07.2025 um 10:50 schrieb Stephen Pelc: > On 10 Jul 2025 at 02:18:50 CEST, "minforth" wrote: > >> "Industry" can manage well with 32-bit >> floats or even smaller with non-standard number formats. > > My customers beg to differ and some use 128 bit numbers for > their work. In a construction estimate for one runway for the > new Hong Kong airport, the cost difference between a 64 bit FP > calculation and the integer calculation was US 10 million dollars. > This was for pile capping which involves a large quantity of relatively > small differences. You are right. "Industry" is one of those non-words that should be used with care, or avoided altogether, before it becomes a tautology. IIRC I only had one real application for 128-bit floats: simulation of heat propagation through thick-walled tubes. The simulation involved numerical integration which can be prone to error accumulation. One variant of MinForth's fp-number wordset can be built with gcc's libquadmath library. It is slower, but speed is not always important.