On Fri, 16 Nov 2007, Peter Jeremy wrote:
I've Cc'd bde@ because this relates to the FPU initialisation - which
he is the expert on.
On Thu, Nov 15, 2007 at 12:54:29PM +, Pete French wrote:
On Fri, Nov 02, 2007 at 10:04:48PM +, Pete French wrote:
int
main(int argc,
On Sat, Nov 17, 2007 at 04:53:22AM +1100, Bruce Evans wrote:
Behaviour like this should be expected on i386 but not on amd64. It
gives the well-known property of the sin() function, that sin(x) != sin(x)
for almost all x (!). It happens because expressions _may_ be evaluated
in extra precision
On Sat, 17 Nov 2007, Peter Jeremy wrote:
On Sat, Nov 17, 2007 at 04:53:22AM +1100, Bruce Evans wrote:
Behaviour like this should be expected on i386 but not on amd64. It
gives the well-known property of the sin() function, that sin(x) != sin(x)
for almost all x (!). It happens because
On Fri, Nov 02, 2007 at 10:04:48PM +, Pete French wrote:
int
main(int argc, char *argv[])
{
if(atof(3.2) =3D=3D atof(3.200))
puts(They are equal);
else
puts(They are NOT equal!);
return 0;
I've Cc'd bde@ because this relates to the FPU initialisation - which
he is the expert on.
On Thu, Nov 15, 2007 at 12:54:29PM +, Pete French wrote:
On Fri, Nov 02, 2007 at 10:04:48PM +, Pete French wrote:
int
main(int argc, char *argv[])
{
if(atof(3.2) ==
On Fri, Nov 02, 2007 at 10:04:48PM +, Pete French wrote:
int
main(int argc, char *argv[])
{
if(atof(3.2) == atof(3.200))
puts(They are equal);
else
puts(They are NOT equal!);
return
Hi, I have a very simple program:
int
main(int argc, char *argv[])
{
if(atof(3.2) == atof(3.200))
puts(They are equal);
else
puts(They are NOT equal!);
return 0;
}
From: Pete French [EMAIL PROTECTED]
Hi, I have a very simple program:
int
main(int argc, char *argv[])
{
if(atof(3.2) == atof(3.200))
puts(They are equal);
else
puts(They are NOT equal!);