|
From: | Colin Macdonald |
Subject: | [Octave-bug-tracker] [bug #48184] num2hex silently discards imaginary part: should raise error |
Date: | Wed, 8 Jun 2016 19:02:41 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 |
URL: <http://savannah.gnu.org/bugs/?48184> Summary: num2hex silently discards imaginary part: should raise error Project: GNU Octave Submitted by: cbm Submitted on: Wed 08 Jun 2016 07:02:38 PM GMT Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Matlab Compatibility Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: Any _______________________________________________________ Details: >> num2hex(3) ans = 4008000000000000 >> num2hex(3+2i) ans = 4008000000000000 The latter example should raise an error. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?48184> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |