public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: rajendra.mishra@timesys.com
Cc: Jesse Pollard <pollard@tomcat.admin.navo.hpc.mil>,
	Nikita@Namesys.COM, Andrey Ulanov <drey@rt.mipt.ru>,
	linux-kernel@vger.kernel.org
Subject: Re: FPU, i386
Date: Thu, 25 Apr 2002 15:22:54 +0200	[thread overview]
Message-ID: <je8z7bzzdd.fsf@sykes.suse.de> (raw)
In-Reply-To: <200204171440.JAA76065@tomcat.admin.navo.hpc.mil> <200204251310.g3PD9dI00738@localhost.localdomain>

rpm <rajendra.mishra@timesys.com> writes:

|>    I understand that in case of inrrational number it will not give a exact 
|> value ......but division like 1/.2 is not irrational ! and it should always 
|> come to 5 !

It is not about irrational number (of course, the result of dividing two
rational number is always a rational number), but about finite precision.
You simply cannot represent 0.2 finitely in base 2.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2002-04-25 13:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-17 14:40 FPU, i386 Jesse Pollard
2002-04-17 14:49 ` John Alvord
2002-04-18  8:31 ` Jakob Østergaard
2002-04-25 13:09 ` rpm
2002-04-25 13:22   ` Andreas Schwab [this message]
2002-04-25 14:22   ` Richard B. Johnson
2002-04-25 15:24     ` Mark Mielke
2002-04-25 16:08       ` Richard B. Johnson
  -- strict thread matches above, loose matches on Subject: below --
2002-04-29 16:19 Kerl, John
2002-04-26 22:10 Kerl, John
2002-04-29 12:33 ` Richard B. Johnson
     [not found] <scc7dcc8.053@mail-02.med.umich.edu>
2002-04-25 14:52 ` Richard B. Johnson
2002-04-25 14:38 Nicholas Berry
2002-04-17 14:05 Andrey Ulanov
2002-04-17 14:20 ` Mike Black
2002-04-17 14:26 ` Richard B. Johnson
2002-04-17 14:29 ` Nikita Danilov
2002-04-17 15:20 ` Gunther Mayer

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=je8z7bzzdd.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=Nikita@Namesys.COM \
    --cc=drey@rt.mipt.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pollard@tomcat.admin.navo.hpc.mil \
    --cc=rajendra.mishra@timesys.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox