[Mono-devel-list] Bug in Runtime or MCS?
yoros at wanadoo.es
yoros at wanadoo.es
Thu Apr 10 00:42:52 EDT 2003
Hello,
I was working on a bug that makes double comparison between NAN and
others don't work properly.
I saw that CSC gives me this IL:
IL_0092: ldloc.0
IL_0093: ldloc.1
IL_0094: blt.un.s IL_00a0
IL_0096: ldstr "NAN >= 1.0"
IL_009b: call void class [corlib]System.Console::WriteLine(string)
And MCS this other:
IL_00ad: ldloc.0
IL_00ae: ldloc.1
IL_00af: blt IL_00be
IL_00b4: ldstr "NAN >= 1.0"
IL_00b9: call void class [corlib]System.Console::WriteLine(string)
The code generated for "<=" is the same (blt changed for bgt).
In MONO-JIT it fails all ">=" and "<=". In MINI, "<=" works OK but ">="
doesn't work in code generated by MCS and all works OK in code generated
with CSC.
Is there an error in MCS or in the JIT?
Regards,
Pedro
--
Pedro Martinez Juliá
\ yoros at terra.es
)| yoros at wanadoo.es
/ http://yoros.cjb.net
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org
GnuPG public information: pub 1024D/74F1D3AC
Key fingerprint = 8431 7B47 D2B4 5A46 5F8E 534F 588B E285 74F1 D3AC
More information about the Mono-devel-list
mailing list