Fix 'E' and 'D' exponential format output

This also fixes two failing NSIL tests.