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