<div dir="ltr">Hi All,
<div><br></div><div style>I'm rewriting MS C++ code via clang and have an issue involving the printed representations of FLT_MAX and DBL_MAX. In both cases the printed literals exceed the inputs.</div><div style><br>
</div><div style>From MS float.h:</div><div style><br></div>#define DBL_MAX         1.7976931348623158e+308<div style>// Becomes 1.797693134862316E<span class="">+</span>308</div>







<div><br></div><div>#define FLT_MAX         3.402823466e+38F<br></div><div style>// Becomes 3.4028235E+38F</div><div><br></div><div style>Rewriting the values leads to compilation errors due to the literals exceeding their maximums. This doesn't altogether surprise me given the nature of FP arithmetic and string conversion but I was wondering if this could/should be treated as a bug given the significance of these values?</div>
<div style><br></div><div style>- Will.</div></div>