[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31765] unexpected behaviour of int32
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #31765] unexpected behaviour of int32 |
Date: |
Thu, 25 Nov 2010 09:26:02 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729) |
URL:
<http://savannah.gnu.org/bugs/?31765>
Summary: unexpected behaviour of int32
Project: GNU Octave
Submitted by: None
Submitted on: Thu 25 Nov 2010 09:26:01 AM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: moti
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.4
Operating System: Microsoft Windows
_______________________________________________________
Details:
The int32 function of octave seems to round. MATLAB or Python
do not round. I personally think this is a bug.
Octave:
int32(-19.7) = -20
MATLAB:
int32(-19.7) = -19
Advanced thanks and cheers,
moti
GNU Octave, version 3.2.4
Octave was configured for "i686-pc-mingw32".
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31765>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #31765] unexpected behaviour of int32,
anonymous <=