I am a little confused by the results of the result of fptoui ... seems
to conflict with the instructions semantics as defined in the language reference (<a href="http://llvm.org/docs/LangRef.html#i_fptoui" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://llvm.org/docs/LangRef.html#i_fptoui
</a>):<br><br>  %tmp1001 = fptoui float 1.0E+300 to i1   ; % yields tmp1001 = 0 on my machine!
<br><br>but the ref says:<br><br>   %Y = fptoui float 1.0E+300 to i1     ; yields i1:true<br><br><br>(checked the return value with ... icmp eq i1 %tmp1001, 0 ... it is returning true)<br><br>Any ideas?  Probably a really dumb mistake on my
part, but it certainly seems to me like it doesn't follow what the
manual says.  I am using LLVM 2.0.<br><br><br>Thanks ~ David<br><br>