| 4732 | } |
| 4733 | |
| 4734 | APFloat::APFloat(const fltSemantics &Semantics, StringRef S) |
| 4735 | : APFloat(Semantics) { |
| 4736 | auto StatusOrErr = convertFromString(S, rmNearestTiesToEven); |
| 4737 | assert(StatusOrErr && "Invalid floating point representation"); |
| 4738 | consumeError(StatusOrErr.takeError()); |
| 4739 | } |
| 4740 | |
| 4741 | APFloat::opStatus APFloat::convert(const fltSemantics &ToSemantics, |
| 4742 | roundingMode RM, bool *losesInfo) { |
nothing calls this directly
no test coverage detected