Package zz.jinterp.JPrimitive

Examples of zz.jinterp.JPrimitive.JNumber


       
      case IADD:
      case LADD:
      case FADD:
      case DADD: {
        JNumber n2 = (JNumber) pop();
        JNumber n1 = (JNumber) pop();
        push(n1.add(n2));
      } break;
       
      case ISUB:
      case LSUB:
      case FSUB:
      case DSUB: {
        JNumber n2 = (JNumber) pop();
        JNumber n1 = (JNumber) pop();
        push(n1.sub(n2));
      } break;
       
      case IMUL:
      case LMUL:
      case FMUL:
      case DMUL: {
        JNumber n2 = (JNumber) pop();
        JNumber n1 = (JNumber) pop();
        push(n1.mul(n2));
      } break;
       
      case IDIV:
      case LDIV:
      case FDIV:
      case DDIV: {
        JNumber n2 = (JNumber) pop();
        JNumber n1 = (JNumber) pop();
        push(n1.div(n2));
      } break;
       
      case IREM:
      case LREM:
      case FREM:
      case DREM: {
        JNumber n2 = (JNumber) pop();
        JNumber n1 = (JNumber) pop();
        push(n1.rem(n2));
      } break;
       
      case INEG:
      case LNEG:
      case FNEG:
      case DNEG: {
        JNumber n = (JNumber) pop();
        push(n.neg());
      } break;
       
      case ISHL:
      case LSHL: {
        JInt n2 = (JInt) pop();
View Full Code Here

TOP

Related Classes of zz.jinterp.JPrimitive.JNumber

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.