llvm::APInt::roundToDouble

roundToDouble overloads

Synopses

Declared in <llvm/ADT/APInt.h>

Converts this unsigned APInt to a double value.

double
roundToDouble() const;
» more...

Convert this APInt to a double value.

double
roundToDouble(bool isSigned) const;
» more...

Return Value

  • This unsigned APInt converted to double.
  • This APInt converted to double.

Parameters

NameDescription
isSignedIf true, treat this APInt as signed