Re: [fluka-discuss]: Bug in formatted output of RESNUCLEi

From: Fasso, Alberto <>
Date: Thu, 6 Aug 2015 17:01:10 +0000

Hi Alexander,
that is not a bug, and should not give any problem when reading this data into
another program, provided the other program is written in Fortran. The E is
not compulsory when expressing floating point numbers in Fortran.
Many important data (e.g. evaluated ENDF cross sections) are written that way.

See the discussion in
In particular:
"There is a strong flavour of "fixed column width" to Fortran formatted input and output. Without the exponent field width specification, the "default" width is two. If the exponent part requires one more position than that, then the column normally occupied by the E is borrowed to at least permit output to continue without loss of information. If the exponent output requires two more than the default, then you'll see stars".

Other languages are not so tolerant...


From: <> on behalf of Alexander Michael Krainer <>
Sent: Thursday, August 6, 2015 8:11 AM
Subject: [fluka-discuss]: Bug in formatted output of RESNUCLEi

Der Fluka authors,

I have found a bug in the formatted output of the RESNUCLEi card when
using it with
IRRPROFI, DCYTIMES and DCYSCORE. (see attached input file)

If you score the residual nuclei after a specific decay time, some of
the activities become really small (e.g. 5.9910E-213), but the
formatted output can only handle two digits exponents so the output
5.9910-213. This can cause problems when reading this data into
another program.

Best regards
Alexander Krainer
You can manage unsubscription from this mailing list at
Received on Thu Aug 06 2015 - 20:30:22 CEST

This archive was generated by hypermail 2.3.0 : Thu Aug 06 2015 - 20:30:33 CEST