(j3.2006) reading 0x1.8000p+0

Michael Ingrassia michaeli
Thu Oct 4 14:22:21 EDT 2007

We ran across a floating point number in a file written by a C compiler
that looked like


Of course the Fortran compiler choked on this ("unexpected character in
real value").  

But it looks like Fortran and C are not in current alignment on the form
of floating point numbers?

Given that we reference ISO/IEC 9899:1999 as the C International Standard,
and that we describe portable interoperation with stream files (e.g. 9.5.4)
this seems like something we should consider describing in a Note
or possibly even fixing.

	--Michael I.

More information about the J3 mailing list