diff --git a/lib/Float.cry b/lib/Float.cry index b0d811657..46cdb1b7a 100644 --- a/lib/Float.cry +++ b/lib/Float.cry @@ -27,6 +27,17 @@ type Float256 = Float 19 237 * Rounding modes (this should be an enumeration type, when we add these) *---------------------------------------------------------------------- */ +/** + * A 'RoundingMode' is used to specify the precise behavior of some + * floating point primitives. + * + * There are five valid 'RoundingMode' values: + * * roundNearestEven + * * roundNearestAway + * * roundPositive + * * roundNegative + * * roundZero + */ type RoundingMode = [3] /** Round toward nearest, ties go to even. */