File tree 1 file changed +15
-3
lines changed
src/org/sosy_lab/java_smt/api
1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,25 @@ public abstract class FloatingPointNumber {
27
27
public static final int DOUBLE_PRECISION_EXPONENT_SIZE = 11 ;
28
28
public static final int DOUBLE_PRECISION_MANTISSA_SIZE = 52 ;
29
29
30
- /** Whether the number is positive (TRUE) or negative (FALSE). */
30
+ /**
31
+ * Whether the number is positive (FALSE) or negative (TRUE).
32
+ *
33
+ * <p>See IEEE 754 or <a href="https://smt-lib.org/theories-FloatingPoint.shtml">SMTLIB FP
34
+ * theory</a> for details on the sign bit.
35
+ */
31
36
public abstract boolean getSign ();
32
37
33
- /** The exponent of the floating-point number, given as numeric value. */
38
+ /**
39
+ * The exponent of the floating-point number, given as numeric value from binary representation.
40
+ * The number is unsigned (not negative) and does not include the bias that is used in IEEE 754.
41
+ */
34
42
public abstract BigInteger getExponent ();
35
43
36
- /** The mantissa (aka significand) of the floating-point number, given as numeric value. */
44
+ /**
45
+ * The mantissa (aka significand) of the floating-point number, given as numeric value from binary
46
+ * representation. The mantissa does not include the hidden bit that is used to denote normalized
47
+ * numbers in IEEE 754.
48
+ */
37
49
public abstract BigInteger getMantissa ();
38
50
39
51
public abstract int getExponentSize ();
You can’t perform that action at this time.
0 commit comments