bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] [bug #52127] Difference between 32- vs. 64-bit versions of gsl


From: Bob Smith
Subject: [Bug-gsl] [bug #52127] Difference between 32- vs. 64-bit versions of gsl_eigen_nonsymm
Date: Wed, 27 Sep 2017 17:02:42 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?52127>

                 Summary: Difference between 32- vs. 64-bit versions of
gsl_eigen_nonsymm
                 Project: GNU Scientific Library
            Submitted by: sudleyplace
            Submitted on: Wed 27 Sep 2017 09:02:40 PM UTC
                Category: Accuracy problem
                Severity: 3 - Normal
        Operating System: Windows 10 Pro (64-bit)
                  Status: None
             Assigned to: None
             Open/Closed: Open
                 Release: 2.4
         Discussion Lock: Any

    _______________________________________________________

Details:

I have encountered a difference in the result of gsl_eigen_nonsymm as a 32-
vs. 64-bit executable.  The program is attached.  What am I doing wrong?

GSL Version:    2.4
Hardware:       AMD FX-8350 CPU, AUSTek Sabertooth 990FX R2.0
OS:             Windows 10 Pro (64-bit)
Description:    

For the 4x4 integer-valued double-precision matrix in the source file, the
32-bit executable displays results different from the 64-bit executable.  I
think that the 64-bit results are correct, but they are both very close.

In particular, the results differ in the both real and imaginary parts of the
resulting Eigenvalues.  For example, the 32-bit version returns the real parts
of the four Eigenvalues as

0.9999999999999996
0.9999999999999996
1.0000000000000009
1.0000000000000009

whereas the 64-bit version returns the real parts as all exactly 1.  The
differences between the 32- and 64-bit results for both real and imaginary
parts are all in the low-order three bits of the hexadecimal form of the
double-precision result.

See the comments in the attached source file for the hexadecimal displays of
the real and imaginary parts.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 27 Sep 2017 09:02:40 PM UTC  Name: nonsymm.c  Size: 6KiB   By:
sudleyplace

<http://savannah.gnu.org/bugs/download.php?file_id=41904>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52127>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]