<div dir="ltr">Hello,<br>When a comparison is made between the<b> fixed point and floating point</b>, the result is unspecified. Reference N1169 4.1.4 (Type conversion, usual arithmetic conversions).<br><br>In code, for fixed-point number, <span style="color:rgb(0,0,0);white-space:pre-wrap">handleFixedPointConversion()(SemaExpr.cpp) is called, </span> I need to return unspecified.<br><br><i> <span style="color:rgb(0,0,0);white-space:pre-wrap">handleFixedPointConversion()</span> {<br> if ((LHS is fixed point && RHS is floating point) OR (RHS is fixed point && LHS is floating point) )<br> return unspecified.<br> }</i><br><br>
please let me know If anyone has idea, how to return unspecified or handle an unspecified case in UsualArithmeticConversions.<br><br>Regards,<br>Nadaf.</div>