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 cpu_time.c: Don't include headers already included by libgfortran.h. 2007-04-06 16:47:23 +00:00
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 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2003 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2004 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2005 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2006 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
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 acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check. 2005-10-28 20:13:20 +00:00
fmain.c gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +00:00
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 re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 19:44:00 +00:00
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-sik-inc.sh: Use a temporary string instead of 'echo -n'. 2004-09-01 17:51:42 +00:00
mk-srk-inc.sh mk-sik-inc.sh: Use a temporary string instead of 'echo -n'. 2004-09-01 17:51:42 +00:00