Path: csiph.com!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.javascript Subject: Re: Are Floating Point Numbers still a Can of Worms? Date: Sat, 15 Oct 2022 01:52:47 +0100 Organization: A noiseless patient Spider Lines: 16 Message-ID: <87v8oloqlc.fsf@bsb.me.uk> References: <31753076-4806-4dd3-8577-40a4ed23b57dn@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: reader01.eternal-september.org; posting-host="8e1c2f508dc719b9b49d4fb1f451084c"; logging-data="2473769"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ma4d+EgBCDrzVBzrS1d5tH3BpZukBt58=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:L/U5kPcF8Fk4xlR3BEi3pVm3utU= sha1:TABe6kd00lh5e6MzxvkVSVxrRW0= X-BSB-Auth: 1.94dad69309211c63b216.20221015015247BST.87v8oloqlc.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:41098 Mostowski Collapse writes: > Welcome to Node.js v18.9.0. > >> 1889**29 > 1.0250068783051206e+95 >> Number(BigInt(1889)**BigInt(29)) > 1.0250068783051207e+95 You question (in the subject) was "Are Floating Point Numbers still a Can of Worms?" If you once considered them a can of worms, why might you not consider them so now? And what has your example got to do with the question? -- Ben.