From c5cda99f9db904869177ec35efa8b1e749a128a4 Mon Sep 17 00:00:00 2001 From: Mark Thom Date: Tue, 11 Jan 2022 18:42:01 -0700 Subject: [PATCH] evaluate floats referenced from the heap by tagged pointers (#1203) --- src/machine/arithmetic_ops.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/machine/arithmetic_ops.rs b/src/machine/arithmetic_ops.rs index 5cc64098..2541f0a1 100644 --- a/src/machine/arithmetic_ops.rs +++ b/src/machine/arithmetic_ops.rs @@ -1334,6 +1334,9 @@ impl MachineState { (ArenaHeaderTag::Rational, r) => { self.interms.push(Number::Rational(r)); } + (ArenaHeaderTag::F64, fl) => { + self.interms.push(Number::Float(*fl)); + } _ => { std::mem::drop(iter); -- 2.54.0