[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31135] Incorrect result when multiplicate two
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #31135] Incorrect result when multiplicate two big numbers |
Date: |
Sun, 26 Sep 2010 08:41:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10 |
URL:
<http://savannah.gnu.org/bugs/?31135>
Summary: Incorrect result when multiplicate two big numbers
Project: GNU Octave
Submitted by: None
Submitted on: Sun 26 Sep 2010 08:41:58 AM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: David Cerny
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.3
Operating System: GNU/Linux
_______________________________________________________
Details:
I've done my own script for multiplication of two big numbers. I wanted to
check my result with result from octave, but I found out that octave is
actually wrong.
Here are my tested numbers
a=29039049309956
b=9977777778
printf(" %1.30e ", a*b);
But I received wrong result from octave on ~16th digit.
this is result from octave
2.897451808991252274216960000000e+23
and this is result from ordinary calculator
2.897451808991252109577680000000e+23
^here starts difference
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31135>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #31135] Incorrect result when multiplicate two big numbers,
anonymous <=