| Deutsch English Français Italiano |
|
<mdbdv4Fasg9U1@mid.individual.net> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: minforth <minforth@gmx.net> Newsgroups: comp.lang.forth Subject: Re: Parsing timestamps? Date: Fri, 11 Jul 2025 05:15:49 +0200 Lines: 31 Message-ID: <mdbdv4Fasg9U1@mid.individual.net> References: <1f433fabcb4d053d16cbc098dedc6c370608ac01@i2pn2.org> <2025Jul2.172222@mips.complang.tuwien.ac.at> <nnd$77366e3c$215e3e20@1580fe9081551b96> <300ba9a1581bea9a01ab85d5d361e6eaeedbf23a@i2pn2.org> <nnd$619ca290$2bff25f3@fa4b7a265c28888c> <4d440297d7e17251ebc50774bacfec73e184f9bc@i2pn2.org> <2025Jul5.104922@mips.complang.tuwien.ac.at> <6fd9f665e73ad93270fff88eca894ba69424cac7@i2pn2.org> <87a55dxbft.fsf@nightsong.com> <2025Jul10.094723@mips.complang.tuwien.ac.at> <87h5zjx2lb.fsf@nightsong.com> <mdaotaF7ghoU1@mid.individual.net> <87cya7wlm7.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net Gv1cc4OQobAFYGDsNgf+cQw9ny/cHGPUH3fXQPB16k4gCnwjgL Cancel-Lock: sha1:UrQG6MXRw54pKUpiJc5WrZZs6hc= sha256:vadrHChVnuRgbvBOqhiES94VUo1JYpaYYDFxjRuW3ng= User-Agent: Mozilla Thunderbird In-Reply-To: <87cya7wlm7.fsf@nightsong.com> Am 11.07.2025 um 03:40 schrieb Paul Rubin: > minforth <minforth@gmx.net> writes: >> Kahan was also overly critical of dynamic Unum/Posit formats. >> Time has shown that he was partially wrong: >> https://spectrum.ieee.org/floating-point-numbers-posits-processor > > I don't feel qualified to draw a conclusion from this. I wonder what > the numerics community thinks, if there is any consensus. I remember > being dubious of posits when I first heard of them, though Kahan > probably influenced that. I do know that IEEE 754 took a lot of trouble > to avoid undesirable behaviours that never would have occurred to most > of us. No idea how well posits do at that. I guess though, given the > continued attention they get, they must be more interesting than I had > thought. > > I saw one of the posit articles criticizing IEEE 754 because IEEE 754 > addition is not always associative. But that is inherent in how > floating point arithmetic works, and I don't see how posit addition can > avoid it. Let a = 1e100, b = -1e100, and c=1. So mathematically, > a+b+c=1. You should get that from (a+b)+c in your favorite floating > point format. But a+(b+c) will almost certainly be 0, without very high > precision (300+ bits). AFAIK Cuda does not support posits (yet). BFLOAT16 etc. still win the game, until the AI industry pours big money into the chip foundries for posit math GPUs. Even then, it is questionable, whether or when it would seep into the general-purpose CPU market. For Forthers to play with, of course. ;o)