summaryrefslogtreecommitdiff
path: root/driver/utils
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2018-05-13 11:40:18 -0400
committerBen Gamari <ben@smart-cactus.org>2018-05-13 18:30:43 -0400
commit9039f847a568ac69436d449b9fe090ecd03b9e06 (patch)
tree91ad1495e541e7025c7a1501097c5e114d15153d /driver/utils
parent6ab7cf995dafcc9196e87bbde76b4f6937507592 (diff)
downloadhaskell-9039f847a568ac69436d449b9fe090ecd03b9e06.tar.gz
base: Fix handling of showEFloat (Just 0)
Previously `showEFloat (Just 0) pi ""` would produce `3.0e0`. Of course, this blatantly disrespects the user's request to print with zero digits of precision. Fix this. This is tested by base's `num008` testcase. Test Plan: Validate Reviewers: hvr Subscribers: rwbarton, thomie, carter GHC Trac Issues: #15115 Differential Revision: https://phabricator.haskell.org/D4665
Diffstat (limited to 'driver/utils')
0 files changed, 0 insertions, 0 deletions