summaryrefslogtreecommitdiff
path: root/src/Interpreter.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Interpreter.hs')
-rw-r--r--src/Interpreter.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Interpreter.hs b/src/Interpreter.hs
index 4d1358f..8ce1b0e 100644
--- a/src/Interpreter.hs
+++ b/src/Interpreter.hs
@@ -125,6 +125,8 @@ interpretOp op arg = case op of
OEq st -> numericIsNum st $ uncurry (==) arg
ONot -> not arg
OIf -> if arg then Left () else Right ()
+ ORound64 -> round arg
+ OToFl64 -> fromIntegral arg
zeroD2 :: STy t -> Rep (D2 t)
zeroD2 typ = case typ of