[comp.sys.mips] bug in fortran

laporte@sobeco.com (p.laporte) (07/25/90)

In this small program we demonstrate that f  format on output does not
distinguish between infinity and zero where g format does.

	implicit double precision (a-h,o-z)
	a = 0.0
	b = 2.0
	c = b / a
	write(*,13) a, b, c
13	format(3f20.8)
	write(*,14) a, b, c
14	format(3g20.8)
	write(*,17) a, b, c
17	format(3z20)
	end

Has anyone had this problem an found a solution

Is it fixed in 2.10 or 2.11 ?

Tks

Pierre Laporte
laporte@Sobeco.com