Package net.sourceforge.uiq3.fx603p
Class Op_Inv_Degree
- java.lang.Object
-
- net.sourceforge.uiq3.fx603p.Owned_Operation
-
- net.sourceforge.uiq3.fx603p.Programmable_Operation
-
- net.sourceforge.uiq3.fx603p.Op_Inv_Degree
-
- 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_Inv_Degree extends Programmable_Operation
Show value as D°R'G"
- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Field Summary
Fields Modifier and Type Field Description private static short[]Display_TextTest to Display on Program, Print and Debug.private static LoggerLoggerClass logger instance.(package private) static net.sourceforge.uiq3.math.BCDFloatMax_DMSmaximum Degree/Minute/Second to convert.private static StringTAGClass logger tag.-
Fields inherited from class net.sourceforge.uiq3.fx603p.Owned_Operation
Owner
-
Fields inherited from interface net.sourceforge.uiq3.fx603p.IProgrammable_Operation
No_Display
-
-
Constructor Summary
Constructors Constructor Description Op_Inv_Degree(@NotNull Calculator Owner)Create operation and attach to owning calculator.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static intcalculateDigits(net.sourceforge.uiq3.math.Number Degree, net.sourceforge.uiq3.math.Number Minutes, net.sourceforge.uiq3.math.Number Seconds, boolean Negative)voidClear(boolean AC)Reset state – for state full operations.short @NotNull []Display(short Opcode)Display operation in Prog mode.voidExecute(short Opcode)@NotNull StringToken(short Opcode)string representation suitable for use with serial I/O.-
Methods inherited from class net.sourceforge.uiq3.fx603p.Owned_Operation
µReset, µReset, toString
-
-
-
-
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 net.sourceforge.uiq3.math.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(net.sourceforge.uiq3.math.Number Degree, net.sourceforge.uiq3.math.Number Minutes, net.sourceforge.uiq3.math.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)
-
Display
public short @NotNull [] Display(short Opcode) throws Op_ErrorDisplay operation 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:
Error- any arithmetic errornet.sourceforge.uiq3.calculator.Error- See Also:
IOperation.Execute(short)
-
Token
@NotNull public @NotNull String Token(short Opcode) throws Op_Error
string representation suitable for use with serial I/O.
- Specified by:
Tokenin interfaceIProgrammable_Operation- Overrides:
Tokenin classProgrammable_Operation- Parameters:
Opcode- Virtual CPU Operation to be executed- Returns:
- pure ASCII String
- Throws:
Op_Error
-
-