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

Method convertToDouble

ext/src/llvm/APFloat.cpp:3317–3322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3315}
3316
3317double IEEEFloat::convertToDouble() const {
3318 assert(semantics == (const llvm::fltSemantics*)&semIEEEdouble &&
3319 "Float semantics are not IEEEdouble");
3320 APInt api = bitcastToAPInt();
3321 return api.bitsToDouble();
3322}
3323
3324/// Integer bit is explicit in this format. Intel hardware (387 and later)
3325/// does not support these bit patterns:

Callers 1

getAsDoubleMethod · 0.45

Calls 1

assertClass · 0.85

Tested by

no test coverage detected