}
} catch (NameDuplicationException ex) {
throw new IllegalActionException(this, ex,
"Fail to set the initialValue parameter.");
}
Precision precision = new Precision(
((Parameter) getAttribute("outputPrecision"))
.getExpression());
Overflow overflow = Overflow
.getName(((Parameter) getAttribute("outputOverflow"))
.getExpression().toLowerCase());
Rounding rounding = Rounding
.getName(((Parameter) getAttribute("outputRounding"))
.getExpression().toLowerCase());
FixPoint result = new FixPoint(((ScalarToken) initialValue
.getToken()).doubleValue(), new FixPointQuantization(
precision, overflow, rounding));
output.setInitToken(new FixToken(result));
}
if (attribute == initialValue) {
Precision precision = new Precision(
((Parameter) getAttribute("outputPrecision"))
.getExpression());
Overflow overflow = Overflow
.getName(((Parameter) getAttribute("outputOverflow"))