<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jun 16, 2017 at 5:35 AM, Martin J. O'Riordan <span dir="ltr"><<a href="mailto:martin.oriordan@movidius.com" target="_blank">martin.oriordan@movidius.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-IE"><div class="gmail-m_2229043535779095649WordSection1"><span style="font-family:"Book Antiqua",serif">Of course, there is the inconsistency that ‘</span><span style="font-family:"Courier New"">short float</span><span style="font-family:"Book Antiqua",serif">’ is not promoted to ‘</span><span style="font-family:"Courier New"">double</span><span style="font-family:"Book Antiqua",serif">’ to perform arithmetic which is at variance with how ‘</span><span style="font-family:"Courier New"">float</span><span style="font-family:"Book Antiqua",serif">’ is handled (though I do promote it to ‘</span><span style="font-family:"Courier New"">double</span><span style="font-family:"Book Antiqua",serif">’ for passing as an argument to variadic functions such as ‘</span><span style="font-family:"Courier New"">printf</span><span style="font-family:"Book Antiqua",serif">’).</span></div></div></blockquote><div>My understanding is that `<span style="font-family:monospace,monospace">float</span>' arithmetic operations do not necessarily occur in the range and precision of `<span style="font-family:monospace,monospace">double</span>'. In particular, the usual arithmetic conversions admit `<span style="font-family:monospace,monospace">float</span>' as a result. My guess is that <span style="font-family:monospace,monospace">FLT_EVAL_METHOD</span> would be a factor to consider for consistency.<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-IE"><div class="gmail-m_2229043535779095649WordSection1"><p class="MsoNormal"><span style="font-family:"Book Antiqua",serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Book Antiqua",serif">All the best,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Book Antiqua",serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Book Antiqua",serif">            MartinO<u></u><u></u></span></p></div></div></blockquote></div><br></div></div>