commit | 40188782dd9cf3495293d8fe07070d4c642389fd | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sat Jan 03 09:24:18 2009 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sat Jan 03 09:24:18 2009 +0000 |
tree | b227405566bfdf87272045a2c27575a50fc1920a | |
parent | c921dacf7842a3a89395c68affa25793ee45d3f3 [diff] [blame] |
Fractions.from_float() no longer loses precision with large integer inputs.
diff --git a/Misc/NEWS b/Misc/NEWS index 02e5085..2606ac1 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -56,6 +56,9 @@ Library ------- +- Fractions.from_float() no longer loses precision for integers to big to + cast as floats. + - Issue 4790: The nsmallest() and nlargest() functions in the heapq module did unnecessary work in the common case where no key function was specified.