FloatingPointBF16Value.random constructor
Generate a random FloatingPointBF16Value, supplying random seed rv
.
Implementation
factory FloatingPointBF16Value.random(Random rv, {bool normal = false}) {
final randFloat = FloatingPointValue.random(rv,
exponentWidth: exponentWidth,
mantissaWidth: mantissaWidth,
normal: normal);
return FloatingPointBF16Value.ofLogicValue(randFloat.value);
}