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