Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #41107
| Path | csiph.com!news.mixmin.net!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail |
|---|---|
| From | "R.Wieser" <address@not.available> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Are Floating Point Numbers still a Can of Worms? |
| Date | Sat, 15 Oct 2022 17:44:22 +0200 |
| Organization | Aioe.org NNTP Server |
| Lines | 30 |
| Message-ID | <tiekgs$8c2$1@gioia.aioe.org> (permalink) |
| References | <31753076-4806-4dd3-8577-40a4ed23b57dn@googlegroups.com> <tidnpc$1vh5$1@gioia.aioe.org> <tie14h$2lmqv$1@dont-email.me> <tie6cf$1rda$1@gioia.aioe.org> <tiehnp$2pf9o$1@dont-email.me> |
| Injection-Info | gioia.aioe.org; logging-data="8578"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; |
| X-RFC2646 | Format=Flowed; Response |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.5512 |
| X-Priority | 3 |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5512 |
| X-MSMail-Priority | Normal |
| X-Notice | Filtered by postfilter v. 0.9.2 |
| Xref | csiph.com comp.lang.javascript:41107 |
Show key headers only | View raw
John, >> :-) The fact that that BigInt float exists (or even a 80-bit float) does >> seem to indicate that there are people out there that disagree with you. > <Snip> > > I was indicating that it's not a "can of worms". Ah thataway. Well, in that case I don't fully agree with you there. You have to know what you're dealing with not to stumble into a floats pitfalls. ... as you've eloquently shown in your next message : > For what it's worth, the correct value of 1889**29 is : > > 102500687830512064253064716070601123218909116358654017979384519544555980744900395407329380298209 > > so the ...206 value is most accurate and ...207 is only slightly less > accurate. The ...204 value illustrates why you want to cut down the number > of floating point operations to get an answer. Although I was aware that multiple divisions (creating small fractional results) could easily lead to precision problems, I fully overlooked that those same problems could creep up on you when doing integer multiplications resulting in big numbers. :-\ Regards, Rudy Wieser
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Are Floating Point Numbers still a Can of Worms? Mostowski Collapse <bursejan@gmail.com> - 2022-10-14 15:52 -0700
Re: Are Floating Point Numbers still a Can of Worms? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2022-10-15 01:52 +0100
Re: Are Floating Point Numbers still a Can of Worms? "R.Wieser" <address@not.available> - 2022-10-15 09:33 +0200
Re: Are Floating Point Numbers still a Can of Worms? "R.Wieser" <address@not.available> - 2022-10-15 10:00 +0200
Re: Are Floating Point Numbers still a Can of Worms? John Harris <niam@jghnorth.org.uk.invalid> - 2022-10-15 11:13 +0100
Re: Are Floating Point Numbers still a Can of Worms? "R.Wieser" <address@not.available> - 2022-10-15 13:43 +0200
Re: Are Floating Point Numbers still a Can of Worms? John Harris <niam@jghnorth.org.uk.invalid> - 2022-10-15 15:56 +0100
Re: Are Floating Point Numbers still a Can of Worms? "R.Wieser" <address@not.available> - 2022-10-15 17:44 +0200
Re: Are Floating Point Numbers still a Can of Worms? Mostowski Collapse <janburse@fastmail.fm> - 2022-10-15 14:25 +0200
Re: Are Floating Point Numbers still a Can of Worms? "R.Wieser" <address@not.available> - 2022-10-15 16:31 +0200
Re: Are Floating Point Numbers still a Can of Worms? John Harris <niam@jghnorth.org.uk.invalid> - 2022-10-15 16:22 +0100
Re: Are Floating Point Numbers still a Can of Worms? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2022-10-15 17:04 +0100
Re: Are Floating Point Numbers still a Can of Worms? Mostowski Collapse <bursejan@gmail.com> - 2022-10-15 09:47 -0700
Re: Are Floating Point Numbers still a Can of Worms? Mostowski Collapse <janburse@fastmail.fm> - 2022-10-15 18:51 +0200
Re: Are Floating Point Numbers still a Can of Worms? Mostowski Collapse <bursejan@gmail.com> - 2022-10-22 14:35 -0700
Re: Are Floating Point Numbers still a Can of Worms? Mostowski Collapse <bursejan@gmail.com> - 2022-11-21 09:02 -0800
Re: Are Floating Point Numbers still a Can of Worms? Julio Di Egidio <julio@diegidio.name> - 2022-10-17 02:00 -0700
Re: Are Floating Point Numbers still a Can of Worms? Mostowski Collapse <bursejan@gmail.com> - 2022-10-18 07:40 -0700
csiph-web