[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37830] Incorrect results from factor
From: |
INVALID.NOREPLY |
Subject: |
[Octave-bug-tracker] [bug #37830] Incorrect results from factor |
Date: |
Thu, 29 Nov 2012 17:00:10 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0 Iceweasel/17.0 |
URL:
<http://savannah.gnu.org/bugs/?37830>
Summary: Incorrect results from factor
Project: GNU Octave
Submitted by: tmac
Submitted on: Thu 29 Nov 2012 05:00:09 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.2
Operating System: GNU/Linux
_______________________________________________________
Details:
The following, from Octave 3.6.2-5 on Debian Sid, is incorrect:
> factor(10000000000000001)
ans = 2 3 5 11 17 73 101 137
69857 5882353
Obviously, 2 should not be a prime factor.
Also, this seems strange to me, using the same number:
> uint64(10000000000000001)
ans = 10000000000000000
For some reason, the last 1 turnes into a 0. Isn't this number well within the
range of uint64?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37830>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #37830] Incorrect results from factor,
INVALID.NOREPLY <=