MCPcopy Create free account
hub / github.com/ablab/spades / APFloat

Method APFloat

ext/src/llvm/APFloat.cpp:4734–4739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4732}
4733
4734APFloat::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
4741APFloat::opStatus APFloat::convert(const fltSemantics &ToSemantics,
4742 roundingMode RM, bool *losesInfo) {

Callers

nothing calls this directly

Calls 3

assertClass · 0.85
consumeErrorFunction · 0.85
takeErrorMethod · 0.45

Tested by

no test coverage detected