Convert a BigInt to Signed when signed is true
signed
BigInt toCondSigned(int width, {bool signed = false}) => signed ? toSigned(width) : toUnsigned(width);