[LLVMdev] a question about constant fold for fdiv

leo han wenwenti at hotmail.com
Thu Mar 22 15:50:37 PDT 2007


Hello, I have a question about the constant folding for fdiv instructions. 
For the instruction "fdiv double 0.0, 0.0", the folded result is inf. I 
think this should be nan. Can anyone tell me why it is not nan?
Thanks.

Leo

_________________________________________________________________
Exercise your brain! Try Flexicon. 
http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglinemarch07




More information about the llvm-dev mailing list