diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-02 04:21:55 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-02 04:21:55 +0000 |
commit | f09aef7698bbae79a67287a353c63c1ca31055b0 (patch) | |
tree | cfff01e89dbb4120d905e92b17c3f721c12030c7 /include/llvm/Support/MathExtras.h | |
parent | c6a28fcf5db2b6e81607e45cd5210e3e07834eed (diff) |
Use a better algorithm for rounding sqrt results. Change the FIXME about
this to a NOTE: because pari/gp results start to get rounded incorrectly
after 192 bits of precision. APInt and pari/gp never differ by more than
1, but APInt is more accurate because it does not lose precision after 192
bits as does pari/gp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/MathExtras.h')
0 files changed, 0 insertions, 0 deletions