File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,17 @@ integers. We attempt to avoid these as follows:
197
197
- MAXLOC(UNSIGNED array, ...), and MINLOC
198
198
- MAXVAL(UNSIGNED array, ...), MINVAL
199
199
200
+ - Add the following new intrinsics (names to be decided):
201
+ - ADD_WRAPPING(UNSIGNED, UNSIGNED) (or ADD_MODULAR) for modular
202
+ arithmetics; the same for SUB, MUL, DIV
203
+
204
+ - We can consider also adding the following intrinsics:
205
+ - Possibly add ADD_SATURATING: saturating at the numeric bounds
206
+ instead of overflowing; the same for SUB, MUL, DIV
207
+ - Possibly add ADD_OVERFLOWING (or ADD_CHECKED): indicates with a
208
+ flag that overflow occurred, wrapped value is returned; the same
209
+ for SUB, MUL, DIV
210
+
200
211
- Extend ISO_C_BINDING with KIND numbers, for example,
201
212
C_UINT, C_UINT8_T.
202
213
You can’t perform that action at this time.
0 commit comments