bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] 64 bit vs 32 bit: different answers


From: raameshd
Subject: [Bug-gsl] 64 bit vs 32 bit: different answers
Date: Fri, 3 Aug 2007 01:40:58 +0530 (IST)
User-agent: SquirrelMail/1.4.8-4.el3.centos.1

Hello,

We are building a computational software in C++ using gsl. The application
is giving different answers for a 32 bit machine and for 64 bit machines.
We tried with different processors and machines (intel and AMD) and came
to conclusion that there is discrepancy in gsl. We have attached a small
g++ program. It gives 2.07388e-317 as output for 64 bit machine and
4.86094e-270 as output for 32 bit machine.

GSL Version: 1.9
Processor: Intel Dual Core
Operating System: Ubuntu in all machines (64 bit machine has 64 bit ubuntu
and 32 bit has 32 bit ubuntu)
Compiler: g++ (GCC) 4.1.2
Problem: Different output for 64 bit and 32 bit machines.
Sample Program attached.

Raamesh Deshpande
Junior Research Fellow
National Center for Biological Research
Banagalore, India.

Attachment: simple_gsl_bug.cpp
Description: Text Data


reply via email to

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