From: fennecdjay Date: Wed, 9 Oct 2019 19:27:53 +0000 (+0200) Subject: :art: Add float not X-Git-Tag: nightly~2198^2~72 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=2e88b786c6c9c19f2654eb0988f5cba3b0305955;p=gwion.git :art: Add float not --- 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; }