llvm::APFloatBase::isRepresentableAsNormalIn

Returns true if any number described by Src can be precisely represented by a normal (not subnormal) value in Dst.

Synopsis

Declared in <llvm/ADT/APFloat.h>

static
bool
isRepresentableAsNormalIn(
    fltSemantics const& Src,
    fltSemantics const& Dst);

Return Value

true if every value of Src is precisely representable as a normal in Dst

Parameters

NameDescription
Srcsource floating-point semantics
Dstdestination floating-point semantics