llvm::APFloatBase::getArbitraryFPSemantics

Returns the fltSemantics for a given arbitrary FP format string, or nullptr if invalid.

Synopsis

Declared in <llvm/ADT/APFloat.h>

static
fltSemantics const*
getArbitraryFPSemantics(StringRef Format);

Return Value

Describes the parameters of a floating-point format used by APFloat.

Parameters

NameDescription
FormatRepresent a constant reference to a string, i.e. a character array and a length, which need not be null terminated.