commit | 661dff0e60093266e7833cbbf5d3809a4f950378 | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Tue Jan 16 14:54:36 2018 |
committer | Marshall Clow <mclow.lists@gmail.com> | Tue Jan 16 14:54:36 2018 |
tree | b5c601afc89319e306d07fec67d1d939e433d4e5 | |
parent | 39b886259e358ce1865ca110473bda086d9c1c97 [diff] |
Change an internal table of constants for the poisson distribution from type 'result_type' to 'double'. The only thing that we ever do with these numbers is to promote them to 'double' and use them in a division. For small result_types, the values were getting truncated, skewing the results. Thanks to James Nagurne for the suggestion. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@322556 91177308-0d34-0410-b5e6-96231b3b80d8