Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
10
Task/Integer-overflow/Standard-ML/integer-overflow.ml
Normal file
10
Task/Integer-overflow/Standard-ML/integer-overflow.ml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
~(~9223372036854775807-1) ;
|
||||
poly: : error: Overflow exception raised while converting ~9223372036854775807 to int
|
||||
Int.maxInt ;
|
||||
val it = SOME 4611686018427387903: int option
|
||||
~(~4611686018427387903 - 1);
|
||||
Exception- Overflow raised
|
||||
(~4611686018427387903 - 1) div ~1;
|
||||
Exception- Overflow raised
|
||||
2147483648 * 2147483648 ;
|
||||
Exception- Overflow raised
|
||||
Loading…
Add table
Add a link
Reference in a new issue