From: "Rigo Schultz" <rigo.schultz@shurato.darktech.org>
Subject: Re: floating point problem
Date: Tue, 24 Jun 2003 3:23:00 GMT [thread overview]
Message-ID: <vfgirt6n8fptb9@corp.supernews.com> (raw)
(CHARSET: PC-8)
(PATH: 263/950 236/150 261/38 140/1 106/2000 123/500 3613/1275 134/10)
From: "Rigo Schultz" <rigo.schultz@shurato.darktech.org>
(CHARSET: PC-8)
(PATH: 263/950 236/150 261/38 140/1 106/2000 123/500 3613/1275 134/10) From:
"Rigo Schultz" <rigo.schultz@shurato.darktech.org>
(CHARSET: PC-8)
(PATH: 263/950 236/150 261/38 140/1 106/2000 123/500 3613/1275 134/10) From:
"Rigo Schultz" <rigo.schultz@shurato.darktech.org>
(CHARSET: PC-8)
(PATH: 263/950 236/150 261/38 140/1 106/2000 123/500 3613/1275 134/10) From:
Rigo Schultz <schultz@eva.mpg.de>
Robert M. Riches Jr wrote:
> For many of these problems, the solution is to add the
> -mieee option to the compile command. This has made a big
> difference for me on several packages.
-mieee works quite good. but i get wrong results.
#include <stdio.h>
int main(void)
{
float check;
check = 5.877472e-39 / 2.0;
printf("Check: %e \n", check);
return (0);
}
on x86:>Check: 2.938736e-39
on alpha:>Check: 5.562685e-309
It's only a little bit different :o(
thanks
-+- BBBS/NT v4.01 Flag-5
+ Origin: TCOB1: A slice of life on your plate (2:263/950)
--
This message posted from Shurato's Heavenly Sphere Telnet BBS
telnet://shurato.darktech.org
for abuse issues, please contact me at shurato@shurato.darktech.org Shurato:
Admin of SHS.
-+- BBBS/NT v4.01 Flag-5
+ Origin: TCOB1: A slice of life on your plate (2:263/950)
--
This message posted from Shurato's Heavenly Sphere Telnet BBS
telnet://shurato.darktech.org
for abuse issues, please contact me at shurato@shurato.darktech.org Shurato:
Admin of SHS.
-+- BBBS/NT v4.01 Flag-5
+ Origin: TCOB1: A slice of life on your plate (2:263/950)
--
This message posted from Shurato's Heavenly Sphere Telnet BBS
telnet://shurato.darktech.org
for abuse issues, please contact me at shurato@shurato.darktech.org Shurato:
Admin of SHS.
--- BBBS/NT v4.01 Flag-5
* Origin: TCOB1: A slice of life on your plate (2:263/950)
--
This message posted from Shurato's Heavenly Sphere Telnet BBS
telnet://shurato.darktech.org
for abuse issues, please contact me at shurato@shurato.darktech.org
Shurato: Admin of SHS.
next reply other threads:[~2003-06-24 3:23 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-24 3:23 Rigo Schultz [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-06-24 3:23 floating point problem Falk Hueffner
2003-06-23 7:00 Rigo Schultz
2003-06-23 7:00 Falk Hueffner
2003-06-21 9:31 Rigo Schultz
2003-06-21 9:31 Falk Hueffner
2003-06-20 10:25 Rigo Schultz
2003-06-20 10:25 Rigo Schultz
2003-06-20 9:53 Falk Hueffner
2003-06-20 9:36 Rigo Schultz
2003-06-19 18:42 Robert M. Riches Jr
2003-06-19 18:42 Robert M. Riches Jr
2003-06-19 18:39 Falk Hueffner
2003-06-19 18:39 Falk Hueffner
2003-06-19 18:32 Rigo Schultz
2003-06-19 18:32 Rigo Schultz
2003-06-19 16:32 Rigo Schultz
2003-06-19 16:39 ` Falk Hueffner
2003-06-19 18:42 ` Robert M. Riches Jr
2003-06-20 7:36 ` Rigo Schultz
2003-06-20 7:53 ` Falk Hueffner
2003-06-20 8:25 ` Rigo Schultz
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox