Class Op_RND

  • All Implemented Interfaces:
    net.sourceforge.uiq3.calculator.IClear, net.sourceforge.uiq3.calculator.IOperation, net.sourceforge.uiq3.calculator.IOwned_Operation, net.sourceforge.uiq3.calculator.IProgrammable_Operation, IProgrammable_Operation

    final class Op_RND
    extends Programmable_Operation
    Round of fix point display
    Author:
    "Martin Krischik" «krischik@users.sourceforge.net»
    • Field Detail

      • Logger

        private static final Logger Logger

        Class logger instance.

      • TAG

        private static final String TAG

        Class logger tag.

      • Full_Value

        @NotNull
        private net.sourceforge.uiq3.math.Number Full_Value
        Full value of the last value processed.
      • Round_Value

        @NotNull
        private net.sourceforge.uiq3.math.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)
      • Display

        public short @NotNull [] Display​(short Opcode)
                                  throws Op_Error
        Display Operatin in Prog mode.
        Throws:
        Op_Error
        See Also:
        IProgrammable_Operation.Display(short)
      • Execute

        public void Execute​(short Opcode)
                     throws net.sourceforge.uiq3.calculator.Error
        Throws:
        net.sourceforge.uiq3.calculator.Error
        See Also:
        IOperation.Execute(short)