summaryrefslogtreecommitdiff
path: root/src/Wasm/Value.agda
diff options
context:
space:
mode:
authorChloe Brown <chloe.brown.00@outlook.com>2021-08-31 10:28:46 +0100
committerChloe Brown <chloe.brown.00@outlook.com>2021-08-31 10:28:46 +0100
commit9a746a0b0e9f1143a8f3922473f91c47a3af665b (patch)
tree30fec9f0cec92be5265e8a5d4b54fc5db9cfa833 /src/Wasm/Value.agda
parentf1d1cb690e7e0487e18d235a919af1c147f39884 (diff)
Introduce type-safe instances and threadsHEADmaster
Diffstat (limited to 'src/Wasm/Value.agda')
-rw-r--r--src/Wasm/Value.agda8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Wasm/Value.agda b/src/Wasm/Value.agda
index 9dfc24e..b28a5c8 100644
--- a/src/Wasm/Value.agda
+++ b/src/Wasm/Value.agda
@@ -2,7 +2,7 @@
module Wasm.Value where
-open import Data.Fin using (Fin)
+open import Data.Fin using (Fin; zero)
open import Data.String using (String)
Name : Set
@@ -22,3 +22,9 @@ F32 = Fin 4294967296
F64 : Set
F64 = Fin 18446744073709551616
+
+0f32 : F32
+0f32 = zero
+
+0f64 : F64
+0f64 = zero