Fixed two wrong tests.
Test 0.0 sent to %e.
Two tweaks to sprintf.

Properly handle 0.0 sent to scientific notation.
Properly convert double to big integer.
Fix incorrect tests.
Fix some previously incorrect details.