public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "myles at peakstreaminc dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug math/3407] powf gives inaccurate results on x86_64
Date: Sun, 22 Oct 2006 00:44:00 -0000	[thread overview]
Message-ID: <20061022004414.19614.qmail@sourceware.org> (raw)
In-Reply-To: <20061022004033.3407.myles@peakstreaminc.com>


------- Additional Comments From myles at peakstreaminc dot com  2006-10-22 00:44 -------
Created an attachment (id=1384)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1384&action=view)
test program

OUTPUT on x86_64 system
-----------------------
x is 0.843334257602691650390625
y is -370
 pow(x,y)  is 2399359442378151177461170176
 powf(x,y) is 2399362098709297791636602880
 fractional error 1.1071e-06


------------------------------------


Output on 32 bit system (CORRECT!)
----------------------------------

x is 0.843334257602691650390625
y is -370
 pow(x,y)  is 2399359442378151177461170176
 powf(x,y) is 2399359442378151177461170176
 fractional error 0


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=3407

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


  reply	other threads:[~2006-10-22  0:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-22  0:40 [Bug math/3407] New: " myles at peakstreaminc dot com
2006-10-22  0:44 ` myles at peakstreaminc dot com [this message]
2009-09-24  8:12 ` [Bug math/3407] " vincent+libc at vinc17 dot org

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=20061022004414.19614.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sources.redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).