projects
/
Faustine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add logical shift left (<<) and logical shift right (>>) to faustine.
[Faustine.git]
/
interpretor
/
value.ml
diff --git
a/interpretor/value.ml
b/interpretor/value.ml
index
e9b2746
..
48fc31c
100644
(file)
--- a/
interpretor/value.ml
+++ b/
interpretor/value.ml
@@
-74,6
+74,8
@@
class value : basic -> value_type =
method atan2 = self#prim2 basic_atan2
method max = self#prim2 basic_max
method min = self#prim2 basic_min
+ method shl = self#prim2 basic_shl
+ method shr = self#prim2 basic_shr
end;;