DIV and MOD 
Author Message
 DIV and MOD

The problem that  I faced is what is the correct behavour of an Oberon program
at runtime if the second operands in DIV and MOD is negative? Should it fall
into a trap (and, if so, in WHICH trap?), or I missed the point and
there still exist definition of this case somewhere?

David.



Tue, 20 Feb 1996 15:20:13 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Query: numeric_std: div,rem,mod

2. DIV and MOD

3. MOD/DIV in standard Pascal

4. DIV, MOD, /, REM (M2,O2)

5. WEBrick, Tofu, Div::Div

6. MOD and /MOD with Pygmy Forth

7. SM/REM FM/MOD and UM/MOD on a 32bit cell ix86 Forth

8. Utils.Mod, ET.Mod

9. Mod-2 or Mod-3 for Mac

10. Mod-2 and Mod-3 compiler

11. Mod-2 and Mod-3 compiler for the IBM PC and compatibles

12. search algorithm for a math mod function (5 mod[2]=1)

 

 
Powered by phpBB® Forum Software