<HTML><BODY>Tobia, what mean "unit tests for these"? For sscanf, strtod or reimplemented mine strtod?<br>If you mean mine strtod - main() serves as unit test. I recheck my strtod and it passes unit test now. Waiting codereview. New version in attach<br><br><br>Fedor Strizhnev<br>Федор Стрижнёв.<br><br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
Аўторак, 22 верасня 2015, 20:00 +02:00 ад Tobia Tesan <tobia.tesan@gmail.com>:<br>
<br>
<div id="">
<div class="js-helper js-readmsg-msg">
<style type="text/css"></style>
<div>
<base target="_self" href="https://e.mail.ru/">
<div id="style_14429448580000000352_BODY">
Fedor, have you by any chance written some unit tests for these?<br>
If so please attach them, I'll gladly spend some time running them
through gdb and extending them if necessary..<br>
<br>
Regards<br>
<br>
<div>On 22/09/2015 11:42, Федор wrote:<br>
</div>
<blockquote cite="mid:1442914975.513993722@m.mail.ru" type="cite">
<pre wrap="">Hi! I need fresh eye on my code.
Some times ago I found Symbian sscanf don't parses floating point numbers in strings.
I'm using as start point sscanf implementation in tizen port. I try strtod() in libc and find it seems also broken.
I write own strod() but it works bad.
Error checking missing now.
Fedor Strizhnev
Федор Стрижнёв.
</pre>
</blockquote>
<br>
<pre cols="72">--
Tobia Tesan
<a href="//e.mail.ru/compose/?mailto=mailto%3atobia.tesan@gmail.com" target="_blank"><tobia.tesan@gmail.com></a>
<a href="//e.mail.ru/compose/?mailto=mailto%3asip%3atobia.tesan@ekiga.net" target="_blank"><sip:tobia.tesan@ekiga.net></a>
<span class="js-phone-number">+39 393 4427709</span></pre>
</div>
<div>------------------------------------------------------------------------------<br>
</div>
<div>_______________________________________________<br>
Scummvm-devel mailing list<br>
<a href="/compose?To=Scummvm%2ddevel@lists.sourceforge.net">Scummvm-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/scummvm-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/scummvm-devel</a><br>
</div>
<base target="_self" href="https://e.mail.ru/">
</div>
</div>
</div>
</blockquote>
<br></BODY></HTML>