diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2018-01-16 14:54:36 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2018-01-16 14:54:36 +0000 |
commit | a58bdf9f69abf7e7173f6edc583f907bfdb1b4ba (patch) | |
tree | bba4e00f03e992541fb1d15b4f144fd3037b9d14 /libcxx/include/algorithm | |
parent | 0b464e4f0e725162322db7f082e5372feeaabe1e (diff) | |
download | bcm5719-llvm-a58bdf9f69abf7e7173f6edc583f907bfdb1b4ba.tar.gz bcm5719-llvm-a58bdf9f69abf7e7173f6edc583f907bfdb1b4ba.zip |
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.
llvm-svn: 322556
Diffstat (limited to 'libcxx/include/algorithm')
0 files changed, 0 insertions, 0 deletions