--- a/solution/cw5/fun_llvm.sc Mon Jan 10 23:52:51 2022 +0000
+++ b/solution/cw5/fun_llvm.sc Thu Jan 20 08:58:38 2022 +0000
@@ -63,7 +63,7 @@
case class KVar(s: String, ty: Ty = "UNDEF") extends KVal
case class KLoad(v: KVal) extends KVal
case class KNum(i: Int) extends KVal
-case class KFNum(i: Float) extends KVal
+case class KFNum(i: Double) extends KVal
case class KChr(c: Int) extends KVal
case class Kop(o: String, v1: KVal, v2: KVal, ty: Ty = "UNDEF") extends KVal
case class KCall(o: String, vrs: List[KVal], ty: Ty = "UNDEF") extends KVal