On Mon, 30 Mar 2009, Christos Zoulas wrote:
i think the latter error is caused by gcc. double d = 1e50; is translated to: movd $0d+Inf,-12(%fp) i don't think, this is correct. Maybe instead of Inf something like DOUBLE_MAX should be used?1e50 should definitely fit into a double... Something is fishy here. I suspect the compiler.
#define DBL_MAX 1.701411834604692294E+38 How can 1e50 fit that? -- Michael L. Hitch mhitch%montana.edu@localhost Computer Consultant Information Technology Center Montana State University Bozeman, MT USA