Class Op_RND

    • Field Detail

      • Logger

        private static final Logger Logger

        Class logger instance.

      • TAG

        private static final String TAG

        Class logger tag.

      • Full_Value

        @NotNull
        private Number Full_Value
        Full value of the last value processed.
      • Round_Value

        @NotNull
        private Number Round_Value
        Rounded value of the last value processed.
    • Constructor Detail

      • Op_RND

        Op_RND​(@NotNull
               @NotNull Calculator Owner)
        Create operation and attach to owning calculator.
        Parameters:
        Owner - Calculator which will call this Opcode
    • Method Detail

      • Clear

        public void Clear​(boolean AC)
        Reset state - for state full operations.
        Parameters:
        AC - All Clear reset
        See Also:
        IClear.Clear(boolean)
      • Execute

        public void Execute​(short Opcode)
                     throws Error
        Description copied from interface: IOperation

        Execute virtual CPU command or key stroke

        Parameters:
        Opcode - Virtual CPU Operation to be executed
        Throws:
        Error - "Error" is an abstract exception class representing all possible errors the calculator can produce.
        Error
        See Also:
        IOperation.Execute(short)