Package eu.simuline.util
Class RealRepresentation.Desc
- java.lang.Object
-
- eu.simuline.util.RealRepresentation.Desc
-
- Enclosing class:
- RealRepresentation
public static class RealRepresentation.Desc extends Object
Describes the way the real number represented byRealRepresentationis displayed as a string.
-
-
Field Summary
Fields Modifier and Type Field Description private RealRepresentation.CutterfractionCutterprivate intlenEThe maximal length of the exponent part of a number displayed in a specific column of the table.private intlenIThe maximal length of the integer part of a number displayed in a specific column of the table.private intlenMThe maximal length of the mantissa of a number displayed in a specific column of the table.private booleanstrictExponentSignifies whether an attempt to cut off parts of the exponent will result in an exception; otherwise it is just ignored.private booleanstrictIntegerSignifies whether an attempt to cut off parts of the integer will result in an exception; otherwise it is just ignored.
-
Constructor Summary
Constructors Constructor Description Desc(int lenI, int lenM, int lenE)
-
-
-
Field Detail
-
strictInteger
private final boolean strictInteger
Signifies whether an attempt to cut off parts of the integer will result in an exception; otherwise it is just ignored.- See Also:
- Constant Field Values
-
strictExponent
private final boolean strictExponent
Signifies whether an attempt to cut off parts of the exponent will result in an exception; otherwise it is just ignored.- See Also:
- Constant Field Values
-
fractionCutter
private final RealRepresentation.Cutter fractionCutter
-
lenI
private final int lenI
The maximal length of the integer part of a number displayed in a specific column of the table.
-
lenM
private final int lenM
The maximal length of the mantissa of a number displayed in a specific column of the table.- See Also:
lenI
-
lenE
private final int lenE
The maximal length of the exponent part of a number displayed in a specific column of the table.- See Also:
lenI
-
-