You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classMediumDec;//Operations and functions will mess up if IntValue overflows/underflows or reaches exactly -2147483648 which is used to represent negative zero when has decimal values
30
+
classMediumDec;
35
31
36
32
/// <summary>
37
-
/// Alternative Non-Integer number representation with focus on accuracy and partially speed within certain range
38
-
/// Represents +- 2147483647.999999999 with 100% consistency of accuracy for most operations as long as don't get too small
39
-
// Use AltDec instead if want to use variant of this class that supports radical representation to save some extra precision
33
+
/// Represents +- 2147483647.999999999 with:
34
+
/// * 100% consistency of accuracy for all integer value multiplication operations.
35
+
/// * 100% consistency of accuracy for addition/subtraction operations within 9th decimal place of representation.
36
+
/// * Partial but still high accuracy for non-integer representation variations of multiplication because of truncation
37
+
/// (values get lost if get too small)
38
+
/// * Partial but still high accuracy for division because of truncation
39
+
/// (values get lost if get too small)
40
+
/// * Other operations like Ln and Sqrt contained with decent level of accuracy
41
+
/// (still loses a little accuracy because of truncation etc)
42
+
/// * Operations and functions will mess up if IntValue overflows/underflows
43
+
/// or reaches exactly -2147483648 which is used to represent negative zero when it has decimal values
40
44
/// (8 bytes worth of Variable Storage inside class for each instance)
0 commit comments