From 2e88b786c6c9c19f2654eb0988f5cba3b0305955 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Wed, 9 Oct 2019 21:27:53 +0200 Subject: [PATCH] :art: Add float not --- src/lib/prim.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/prim.c b/src/lib/prim.c index f7085b69..eaf7dbb0 100644 --- a/src/lib/prim.c +++ b/src/lib/prim.c @@ -270,6 +270,9 @@ static GWION_IMPORT(float) { GWI_BB(gwi_oper_end(gwi, "::", int_float_mul)) GWI_BB(gwi_oper_ini(gwi, "float", "dur", "dur")) GWI_BB(gwi_oper_end(gwi, "::", FloatTimes)) + GWI_BB(gwi_oper_ini(gwi, NULL, "float", "bool")) + GWI_BB(gwi_oper_add(gwi, opck_unary_meta2)) // should return bool + GWI_BB(gwi_oper_end(gwi, "!", float_not)) return GW_OK; } -- 2.43.0