Output Format Rounding

Output Format Rounding


I've recently upgraded my project from vs2010 with Visual Fortran Composer XE 2011 to vs2012 with Visual Fortran Composer XE 2013. I use the following format statement to output some data (example data: -4.48e-054):


When used previously it would round very small numbers to 0.00. Now when I run the same program it outputs -0.00. 

Any idea if there's a project setting or something I need to change so that the sign is discarded? I may well have inadvertently changed a setting during the upgrade.

Thanks for any help.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Your very small numbers are negative, so the standard requires that the sign be there and we weren't doing it correctly - we fixed a bug.

Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today