search for: fasstr

Displaying 1 result from an estimated 1 matches for "fasstr".

Did you mean: fastr
2015 Aug 10
2
Bug or expected behavior of APFloat class?
...ro); outs() << "f bits: 0x"; outs().write_hex(getBits(f)); outs() << "\n"; assert(getBits(f) == 0x34cc); // Check that if we get the string using FormatPrecision=0 // that this can be used to construct another APFloat of the // same value. std::string fAsString = getString(f); outs() << "f as string: \"" << fAsString << "\"\n"; newF.convertFromString(fAsString, APFloat::rmTowardZero); outs() << "newF as string: \"" << getString(newF) << "\"\n"; outs(...