commit | f09aef7698bbae79a67287a353c63c1ca31055b0 | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Fri Mar 02 04:21:55 2007 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Fri Mar 02 04:21:55 2007 +0000 |
tree | cfff01e89dbb4120d905e92b17c3f721c12030c7 | |
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