Beispiel #1
0
 /** @apilevel internal */
 private Constant questionColon_compute(Constant cond, Constant c1, Constant c2) {
   return Constant.create(cond.booleanValue() ? c1.floatValue() : c2.floatValue());
 }
Beispiel #2
0
 /** @apilevel internal */
 private Constant minus_compute(Constant c) {
   return Constant.create(-c.floatValue());
 }
Beispiel #3
0
 /** @apilevel internal */
 private Constant sub_compute(Constant c1, Constant c2) {
   return Constant.create(c1.floatValue() - c2.floatValue());
 }
Beispiel #4
0
 /** @apilevel internal */
 private Constant cast_compute(Constant c) {
   return Constant.create(c.floatValue());
 }