<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 7, 2015 at 6:35 AM, Chris McCormick <span dir="ltr"><<a href="mailto:chris@mccormick.cx" target="_blank">chris@mccormick.cx</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<span class=""><br>
On 07/07/15 03:31, Alexandros Drymonitis wrote:<br>
> On Mon, Jul 6, 2015 at 8:56 PM, Cyrille Henry <<a href="mailto:ch@chnry.net">ch@chnry.net</a><br>
</span><span class="">> <mailto:<a href="mailto:ch@chnry.net">ch@chnry.net</a>>> wrote:<br>
>     look like it's more a s2i than a s2f<br>
> True! Now it's real s2f<br>
<br>
</span>Having tried this strategy myself I discovered there are many pitfalls.<br>
The following are valid floating point representation that your<br>
abstraction will not parse:<br>
<br>
-2.58934e+27<br></blockquote><div>Covered! <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I think there are also valid values like "-0.0" and "inf" that can come<br>
from floating point numbers rendered as strings and could cause some<br>
troubles.<br></blockquote><div>Covered "inf", but not "-0.0", it will just output -0<br></div></div></div></div>