|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #44245] sprintf ("%0X", 15.2) prints floating point number 15.2 rather than 'F' |
Date: | Sun, 15 Feb 2015 23:05:02 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0 |
Follow-up Comment #4, bug #44245 (project octave): I'm not sure that this is a bug. I think the change was made for Matlab compatibility, though it appears that Matlab uses a short e format, even for small values like 15.2. If there is a bug, I think it is not having a test for it and an explicit comment about the compatibility issue. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?44245> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |