thegu5
Float (signed) number comparisons compiled to unsigned version of instruction
Why does
compile to
whereas
compiles to the same thing but with
cgt
instead of cgt.un
? Are these two expressions not equivalent? I'm also confused why it's using .un
for two signed numbers that are ordered
sharplab: https://sharplab.io/#v2:EYLgxg9gTgpgtADwGwBYA0AXEBLANgHwAEAmARgFgAoQgZgAIS6BhOgbyrs4fuAglzoA7CBgAUAM1wQAhhjrS0dSTLnAAlGw5dthAOx0AhKOl0AfHXUBuLZwC+N7hb4DcGGAEcJU2fMXKf6pqU2jr6JgA8ALwW1sFc9pS2QA5 replies
Debugging a ReflectionTypeLoadException
I'm using a tool called Cpp2IL to generate types like this in assemblies:
(il:)
everything looks valid after comparing it to output from https://sharplab.io - so, are there any ways I continue debugging this to figure out what went wrong with generation? (/is there anything incorrect that stands out?)
3 replies