Explorar o código

Update common.h

blueloveTH hai 1 ano
pai
achega
e33816b64b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/pocketpy/common.h

+ 1 - 0
include/pocketpy/common.h

@@ -66,6 +66,7 @@ using i64 = int64_t;		// always 64-bit
 using f64 = double;			// always 64-bit
 using f64 = double;			// always 64-bit
 
 
 static_assert(sizeof(i64) == 8);
 static_assert(sizeof(i64) == 8);
+static_assert(sizeof(f64) == 8);
 
 
 struct DummyInstance { };
 struct DummyInstance { };
 struct DummyModule { };
 struct DummyModule { };