Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
ecaf1cd3
Commit
ecaf1cd3
authored
Oct 05, 2007
by
Pietro Abate
Browse files
[r2003-06-08 08:43:13 by cvscast] Bug fix for operator div
Original author: cvscast Date: 2003-06-08 08:43:13+00:00
parent
1af99134
Changes
1
Hide whitespace changes
Inline
Side-by-side
types/builtin.ml
View file @
ecaf1cd3
...
...
@@ -278,7 +278,7 @@ binary_op_cst "*"
|
(
Value
.
Integer
x
,
Value
.
Integer
y
)
->
Value
.
Integer
(
Intervals
.
vmult
x
y
)
|
_
->
assert
false
);;
binary_op_cst
"
div
"
binary_op_cst
"
/
"
int
int
int
(
fun
v1
v2
->
match
(
v1
,
v2
)
with
|
(
Value
.
Integer
x
,
Value
.
Integer
y
)
->
Value
.
Integer
(
Intervals
.
vdiv
x
y
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment