llvm::ConstantDataSequential::getElementAsFloat

If this is an sequential container of floats, return the specified element as a float.

Synopsis

Declared in <llvm/IR/Constants.h>

float
getElementAsFloat(uint64_t i) const;

Return Value

The element at the given index as a float.

Parameters

NameDescription
iThe zero-based element index.