2. Add functions to support the numberical conversion between APInt and double/float. llvm-svn: 34201