Failure of default_format_1.f90
Steve Kargl
sgk@troutmask.apl.washington.edu
Wed Oct 3 20:54:00 GMT 2007
On Wed, Oct 03, 2007 at 09:36:40PM +0100, FX Coudert wrote:
>
> As for the failure, you don't say which target you're talking about,
> but I take it to be x86_64-freebsd. That means that writing denormals
> and reading them back doesn't yield the same value. Now, this could
> be because the field is not large enough, but then it'd be a generic
> x86 failure, no freebsd specific (testcase works fine on x86_64-
> linux). So, it's probably a problem with freebsd's printf().
>
You will need to xfail the test on all operating systems
that use David Gay's code from netlib.
http://www.netlib.org/fp/index.html
in particular gdtoa.
The default widths for list-directed output should be
consistent with PRECISION(). Writing more digits than
the accuracy of the data type does not make sense.
Garbage out, garbage in.
--
Steve
More information about the Fortran
mailing list