populator static method
Creates a FloatingPointValuePopulator with the provided exponentWidth
and mantissaWidth
, which can then be used to complete construction of
a FloatingPointValue using population functions.
Implementation
static FloatingPointValuePopulator populator(
{required int exponentWidth,
required int mantissaWidth,
bool explicitJBit = false,
bool subNormalAsZero = false}) =>
FloatingPointValuePopulator(FloatingPointValue.uninitialized(
explicitJBit: explicitJBit, subNormalAsZero: subNormalAsZero)
.._exponentWidth = exponentWidth
.._mantissaWidth = mantissaWidth);