Date: Wed, 08 May 2019 19:49:48 +0000 From: bugzilla-noreply@freebsd.org To: numerics@FreeBSD.org Subject: [Bug 237800] pow(3) returns inaccurate results Message-ID: <bug-237800-18636-WCpdwHUH0p@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-237800-18636@https.bugs.freebsd.org/bugzilla/> References: <bug-237800-18636@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237800 Peter Jeremy <peterj@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |peterj@FreeBSD.org --- Comment #3 from Peter Jeremy <peterj@FreeBSD.org> --- We could special case "y is a small positive integer" - that might give a better result though it's unclear in this case. Alternatively, we could look at what perl is doing - converting between ASC= II strings and floating point values is full of dragons and evaluating pow(10,= i) anywhere in that process suggests it's not being done optimally. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237800-18636-WCpdwHUH0p>