From: "Jakob Østergaard" <jakob@unthought.net>
To: Joe <joeja@mindspring.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: bug in float on Pentium
Date: Sat, 14 Apr 2001 05:01:01 +0200 [thread overview]
Message-ID: <20010414050101.G13740@unthought.net> (raw)
In-Reply-To: <3AD78A6C.F0F3CF5A@mindspring.com>
In-Reply-To: <3AD78A6C.F0F3CF5A@mindspring.com>; from joeja@mindspring.com on Fri, Apr 13, 2001 at 07:23:24PM -0400
On Fri, Apr 13, 2001 at 07:23:24PM -0400, Joe wrote:
> Not sure but I think I found a NEW bug.
>
> I know that there have been some issues with pentiums and floating point
> arrithmatic, but this takes the cake...
>
> Linux Lserver.org 2.2.18 #43 SMP Fri Mar 9 14:19:41 EST 2001 i586
> unknown
>
...
>
>
> I am getting the following as output
>
> joeja@Lserver$ ./testf
> 5483.990000
> 5483.990234
>
>
> what is with the .990234?? it should be .990000
>
> any ideas on this??
>
Your second number is a 32-bit float - which has roughly 7 digits of
precision. Just like your program output clearly shows.
(I do however fail to see the relevance of this to linux-kernel)
--
................................................................
: jakob@unthought.net : And I see the elder races, :
:.........................: putrid forms of man :
: Jakob Østergaard : See him rise and claim the earth, :
: OZ9ABN : his downfall is at hand. :
:.........................:............{Konkhra}...............:
next prev parent reply other threads:[~2001-04-14 3:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-13 23:23 bug in float on Pentium Joe
2001-04-14 2:57 ` Alan Cox
2001-04-14 3:01 ` Jakob Østergaard [this message]
2001-04-14 5:35 ` Jonathan Morton
2001-04-15 6:02 ` Matt Billenstein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010414050101.G13740@unthought.net \
--to=jakob@unthought.net \
--cc=joeja@mindspring.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.