Enum ArithmeticInstruction.ArithmeticType

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DADD
      Adds two doubles, rounding to the nearest representable double.
      DDIV
      Divides two doubles; a zero divisor yields infinity or NaN instead of throwing.
      DMUL
      Multiplies two doubles, rounding to the nearest representable double.
      DREM
      Double remainder, taking the sign of the dividend; a zero divisor yields NaN.
      DSUB
      Subtracts the topmost double from the one beneath it.
      FADD
      Adds two floats, rounding to the nearest representable float.
      FDIV
      Divides two floats; a zero divisor yields infinity or NaN instead of throwing.
      FMUL
      Multiplies two floats, rounding to the nearest representable float.
      FREM
      Float remainder, taking the sign of the dividend; a zero divisor yields NaN.
      FSUB
      Subtracts the topmost float from the one beneath it.
      IADD
      Adds two ints, wrapping silently on overflow.
      IDIV
      Divides two ints, truncating toward zero and throwing on a zero divisor.
      IMUL
      Multiplies two ints, keeping only the low 32 bits of the product.
      IREM
      Int remainder, taking the sign of the dividend and throwing on a zero divisor.
      ISUB
      Subtracts the topmost int from the one beneath it, wrapping on overflow.
      LADD
      Adds two longs, wrapping silently on overflow; each operand is two stack words.
      LDIV
      Divides two longs, truncating toward zero and throwing on a zero divisor.
      LMUL
      Multiplies two longs, keeping only the low 64 bits of the product.
      LREM
      Long remainder, taking the sign of the dividend and throwing on a zero divisor.
      LSUB
      Subtracts the topmost long from the one beneath it, wrapping on overflow.