signedMD static method
- dynamic mdConfig
This is a helper function that prints out the kind of multiplicand
(selected by a Logic or set statically via bool
).
- UD: unsigned multiplicand.
- SD: signed multiplicand.
- SSD: dynamic selection of signed multiplicand.
Implementation
static String signedMD(dynamic mdConfig) =>
((mdConfig is! StaticOrRuntimeParameter) | (mdConfig == null))
? 'UD'
: ((mdConfig as StaticOrRuntimeParameter).runtimeConfig != null)
? 'SSD'
: mdConfig.staticConfig
? 'SD'
: 'UD';