Hi,

the following test gives wrong results on i386/JIT.
It looks like the set_i_n JIT op rounds the number, whereas
the non JIT OP does not round the number.

jens

output_is(<<'CODE', <<'OUT', "set_i_n testing");
##PIR##
.sub _main
    .local num n
    .local int i

    n = 1.4
    i = n
    print i

    n = 2.5
    i = n
    print i

    n = 3.6
    i = n
    print i

    print "\n"
    end
.end
CODE
123
OUT

Reply via email to