summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-08-20 17:48:47 (GMT)
committerGitHub <noreply@github.com>2021-08-20 17:48:47 (GMT)
commit838b0e975fc2c106508eb27d19a9548533ac1e55 (patch)
tree1af711ae1073b86d4a0afbf25d2cd6cffb2b83c3 /Misc
parentf0e2a46349bc5a733aee58d53fa685de108b1787 (diff)
downloadcpython-838b0e975fc2c106508eb27d19a9548533ac1e55.zip
cpython-838b0e975fc2c106508eb27d19a9548533ac1e55.tar.gz
cpython-838b0e975fc2c106508eb27d19a9548533ac1e55.tar.bz2
bpo-44954: Fix wrong result in float.fromhex corner case (GH-27834)
(cherry picked from commit 60b93d9e4922eeae25052bc15909d1f4152babde) Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-08-19-14-43-24.bpo-44954.dLn3lg.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-08-19-14-43-24.bpo-44954.dLn3lg.rst b/Misc/NEWS.d/next/Core and Builtins/2021-08-19-14-43-24.bpo-44954.dLn3lg.rst
new file mode 100644
index 0000000..4cdeb34
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-08-19-14-43-24.bpo-44954.dLn3lg.rst
@@ -0,0 +1,2 @@
+Fixed a corner case bug where the result of ``float.fromhex('0x.8p-1074')``
+was rounded the wrong way.