comp.lang.ada
 help / color / mirror / Atom feed
From: sjs@essex.ac.uk (Dr Steve Sangwine)
Subject: Floating-point problems with gcc 3.2
Date: Wed, 11 Dec 2002 13:26:22 -0000
Date: 2002-12-11T13:26:22+00:00	[thread overview]
Message-ID: <3df73bcc.15483884@news.essex.ac.uk> (raw)

I have been trying out gcc 3.2 in order to link Fortran code with Ada
and I have encountered problems with floating point. Ada code that
works correctly with gnat 3.14p and 3.15p gives incorrect numeric
values when compiled with gcc 3.2. I'm using the mingw binaries of gcc
3.2 running on Windows 2000.

I have also seen problems with Fortran code giving incorrect
floating-point results. I seem to recall seeing somewhere something
about a known problem with the floating-point unit not being properly
initialised or reloaded on a context switch. Has anyone else hit this
problem?

Steve Sangwine




             reply	other threads:[~2002-12-11 13:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-11 13:26 Dr Steve Sangwine [this message]
2002-12-11 18:15 ` Floating-point problems with gcc 3.2 Stephen Leake
2002-12-11 18:19 ` Jerry van Dijk
2002-12-11 18:54 ` Ted Dennison
2002-12-12  8:50 ` nicolas
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox