gcc/libgfortran
Jerry DeLisle 2861f77f87 write.c (stdbool.h): Add include.
2007-08-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	* io/write.c (stdbool.h): Add include. (sign_t): Move typedef to
	new file write_float.def. Include write_float.def.
	(extract_real): Delete. (calculate_sign): Delete.
	(calculate_exp): Delete. (calculate_G_format): Delete.
	(output_float): Delete. (write_float): Delete.
	* io/write_float.def (calculate_sign): Added.
	(output_float): Refactored to be independent of kind and added to this
	file for inclusion. (write_infnan): New function to write "Infinite" or
	"NaN" depending on flags passed, independent of kind.
	(CALCULATE_EXP): New macro to build kind specific functions. Use it.
	(OUTPUT_FLOAT_FMT_G): New macro, likewise. Use it.
	(DTOA, DTOAL): Macros to implement "decimal to ascii".
	(WRITE_FLOAT): New macro for kind specific write_float functions.
	(write_float): Revised function to determine kind and use WRITE_FLOAT
	to implement kind specific output.

From-SVN: r127846
2007-08-28 00:56:05 +00:00
..
config
generated re PR libfortran/32972 (performance of pack/unpack) 2007-08-24 16:16:16 +00:00
intrinsics re PR libfortran/32972 (performance of pack/unpack) 2007-08-24 16:16:16 +00:00
io write.c (stdbool.h): Add include. 2007-08-28 00:56:05 +00:00
m4 re PR libfortran/32972 (performance of pack/unpack) 2007-08-24 16:16:16 +00:00
runtime re PR fortran/30964 (optional arguments to random_seed) 2007-08-12 20:45:29 +00:00
acinclude.m4 re PR libfortran/23138 ([mingw32] real(16) values are printed incorrectly) 2007-08-23 13:03:35 +00:00
aclocal.m4 Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp, 2007-07-05 10:54:10 -07:00
c99_protos.h re PR fortran/31202 (Incorrect rounding generated for NINT) 2007-08-05 22:14:34 +00:00
ChangeLog write.c (stdbool.h): Add include. 2007-08-28 00:56:05 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
config.h.in re PR libfortran/23138 ([mingw32] real(16) values are printed incorrectly) 2007-08-23 13:03:35 +00:00
configure re PR libfortran/23138 ([mingw32] real(16) values are printed incorrectly) 2007-08-23 13:03:35 +00:00
configure.ac re PR libfortran/23138 ([mingw32] real(16) values are printed incorrectly) 2007-08-23 13:03:35 +00:00
configure.host
fmain.c
gfortran.map re PR fortran/30964 (optional arguments to random_seed) 2007-08-12 20:45:29 +00:00
libgfortran.h re PR libfortran/32972 (performance of pack/unpack) 2007-08-24 16:16:16 +00:00
libtool-version
Makefile.am Makefile.am (AM_CPPFLAGS): Commentary typo fix. 2007-08-22 22:30:26 +02:00
Makefile.in re PR fortran/31202 (Incorrect rounding generated for NINT) 2007-08-03 21:26:10 +00:00
mk-kinds-h.sh re PR fortran/32627 ([ISO Bind C] Accept c_f_pointer for TYPE) 2007-07-21 23:45:44 +00:00
mk-sik-inc.sh
mk-srk-inc.sh