|
From: | Ernst Reissner |
Subject: | [Octave-bug-tracker] [bug #50349] Note missing in Section 4.4 that literal 1 is a double not an integer |
Date: | Fri, 17 Feb 2017 22:17:07 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 |
URL: <http://savannah.gnu.org/bugs/?50349> Summary: Note missing in Section 4.4 that literal 1 is a double not an integer Project: GNU Octave Submitted by: ernstreissner Submitted on: Sat 18 Feb 2017 03:17:06 AM UTC Category: Documentation Severity: 3 - Normal Priority: 5 - Normal Item Group: None Status: None Assigned to: None Originator Name: Ernst Reissner Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.2.0 Operating System: Any _______________________________________________________ Details: Here matlab language differs from almost all other languages: 1 is a double. even round(1.1) is a double integers occur only when cast explicitly e.g. through int32(1) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50349> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |