Improve numeric stability of numericEnumFrom for floating numbers
Fixes #15081. Test Plan: cd libraries/base && make test TEST="enumNumeric" Reviewers: hvr, bgamari Reviewed By: bgamari Subscribers: dfeuer, simonpj, thomie, carter GHC Trac Issues: #15081 Differential Revision: https://phabricator.haskell.org/D4650
Showing
- libraries/base/GHC/Real.hs 54 additions, 2 deletionslibraries/base/GHC/Real.hs
- libraries/base/tests/all.T 1 addition, 0 deletionslibraries/base/tests/all.T
- libraries/base/tests/enumNumeric.hs 7 additions, 0 deletionslibraries/base/tests/enumNumeric.hs
- libraries/base/tests/enumNumeric.stdout 5 additions, 0 deletionslibraries/base/tests/enumNumeric.stdout
- testsuite/tests/perf/should_run/all.T 2 additions, 1 deletiontestsuite/tests/perf/should_run/all.T
libraries/base/tests/enumNumeric.hs
0 → 100644
libraries/base/tests/enumNumeric.stdout
0 → 100644
Please register or sign in to comment