From 95684a31df0ecae965eef70f309901b4e3000aa2 Mon Sep 17 00:00:00 2001 From: Hyeonung Baek Date: Tue, 8 Feb 2022 00:15:09 +0900 Subject: [PATCH] Change names --- eval.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eval.ml b/eval.ml index d5fd1a2..478f95b 100644 --- a/eval.ml +++ b/eval.ml @@ -101,10 +101,10 @@ let rec binop op l r = end | Some f -> f l r -let deg r = +let rad r = r *. 180. /. Float.pi -let rad d = +let deg d = d /. 180. *. Float.pi let floatfun f = function