use of edu.uah.rsesc.aadlsimulator.xtext.inputConstraint.BinaryExpression in project AGREE by loonwerks.
the class ExpressionFactory method createFraction.
public static BinaryExpression createFraction(final BigInteger numerator, final BigInteger denominator) {
final BinaryExpression ic = InputConstraintFactory.eINSTANCE.createBinaryExpression();
ic.setOp(Operator.DIVISION);
ic.setLeft(createReal(numerator));
ic.setRight(createReal(denominator));
return ic;
}
Aggregations