Fast-track obviously over-large and over-small exponents during decimal->
authorNeil Booth <neil@daikokuya.co.uk>
Mon, 15 Oct 2007 15:00:55 +0000 (15:00 +0000)
committerNeil Booth <neil@daikokuya.co.uk>
Mon, 15 Oct 2007 15:00:55 +0000 (15:00 +0000)
commit686700e32561c7be9e620b9b86134467c2456128
treebf206079581f61a47873a375b405f5a404297d25
parent65f8d3bf6bd49e08d1a8f845e4a91e67228d564c
Fast-track obviously over-large and over-small exponents during decimal->
integer conversion.  In some such cases this makes us one or two orders
of magnitude faster than NetBSD's libc.  Glibc seems to have a similar
fast path.

Also, tighten up some upper bounds to save a bit of memory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42984 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/APFloat.cpp