[Mono-dev] conv.r.un opcode

Kornél Pál kornelpal at gmail.com
Mon Dec 15 11:52:59 EST 2008


Hi,

I have read the ECMA specs regarding conv.r.un and I found that 
conv.r.un converts an unsigned integer either to float32 or to float64.

The stack only has an F type and the range of F >= than the range of 
float64.

Summarizing the above I believe that the standard specifies that 
conv.r.un is conv.r8.un in fact.

On the other hand both MS and Mono compilers use conv.r.un and conv.r8 
in pair.

If I assume that F is not the same as float64 can I safely assume that 
conv.r.un converts to a float64 or should I assume that it is F that may 
have wider range and/or precision than float64?

Thanks.

Kornél


More information about the Mono-devel-list mailing list