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