Closed hectord closed 3 years ago
Thanks for the report. This affects only LONGREAL comparisons <= and >= with a Boolean result, and not conditional branches.
A typo in keiko.iset
, where DLEQ
expands to DCMPG, PUSH 0, LE
with LE
in place of LEQ
-- easily fixed! As a workaround, please use
IF x >= y THEN RETURN TRUE ELSE RETURN FALSE END
This will be fixed in release 3.1.3 .
In a rare burst of semi-professionalism, I also added to iset.tcl
a check that all instructions used in a macro or JIT equivalent actually exist.
It seems the compiler fails to compile files which compare LONGREAL variables with ">=" and "<=".
The error I get is:
no template found for GE in SYSTEM2.k
In order to reproduce the error compile this module (I use the Windows version 3.1.0 with Windows 10):
Output: