Class Op_Inv_Degree

    • Field Detail

      • Display_Text

        private static final short[] Display_Text

        Test to Display on Program, Print and Debug.

      • Logger

        private static final Logger Logger

        Class logger instance.

      • TAG

        private static final String TAG

        Class logger tag.

      • Max_DMS

        static BCDFloat Max_DMS
        maximum Degree/Minute/Second to convert.
    • Constructor Detail

      • Op_Inv_Degree

        Op_Inv_Degree​(@NotNull
                      @NotNull Calculator Owner)

        Create operation and attach to owning calculator.

        Parameters:
        Owner - Calculator which will call this Opcode
    • Method Detail

      • calculateDigits

        static int calculateDigits​(Number Degree,
                                   Number Minutes,
                                   Number Seconds,
                                   boolean Negative)
      • 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 - any arithmetic error
        Error
        See Also:
        IOperation.Execute(short)