File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -117,13 +117,19 @@ class ieee_floatt
117117public:
118118 // ROUND_TO_EVEN is also known as "round to nearest, ties to even", and
119119 // is the IEEE default.
120+ // ROUND_TO_AWAY is also known as "round to infinity".
120121 // The numbering below is what x86 uses in the control word and
121- // what is recommended in C11 5.2.4.2.2
122+ // what is recommended in C11 5.2.4.2.2.
123+ // The numbering of ROUND_TO_AWAY is not specified in C11 5.2.4.2.2.
122124 enum rounding_modet
123125 {
124- ROUND_TO_EVEN=0 , ROUND_TO_MINUS_INF=1 ,
125- ROUND_TO_PLUS_INF=2 , ROUND_TO_ZERO=3 ,
126- UNKNOWN, NONDETERMINISTIC
126+ ROUND_TO_EVEN = 0 ,
127+ ROUND_TO_MINUS_INF = 1 ,
128+ ROUND_TO_PLUS_INF = 2 ,
129+ ROUND_TO_ZERO = 3 ,
130+ ROUND_TO_AWAY = 4 ,
131+ UNKNOWN,
132+ NONDETERMINISTIC
127133 };
128134
129135 // A helper to turn a rounding mode into a constant bitvector expression
You can’t perform that action at this time.
0 commit comments