|
From: | Charles Karney |
Subject: | [Octave-bug-tracker] [bug #45587] rem(-0, 1) returns 0 instead of -0 |
Date: | Mon, 20 Jul 2015 14:02:07 +0000 |
User-agent: | Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0 |
URL: <http://savannah.gnu.org/bugs/?45587> Summary: rem(-0, 1) returns 0 instead of -0 Project: GNU Octave Submitted by: karney Submitted on: Mon 20 Jul 2015 02:02:06 PM GMT Category: Octave Function 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.8.2 Operating System: GNU/Linux _______________________________________________________ Details: The subject line says it all. Most implementations of this functionality (MATLAB, C, C++) return a result with the same sign as the first argument. Octave should too. (This may be related to bug #45481.) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?45587> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |