octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #36133] num2str fails to switch from integer o


From: Rik
Subject: [Octave-bug-tracker] [bug #36133] num2str fails to switch from integer output to exponential notation for large values
Date: Fri, 13 Jul 2018 11:55:17 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Update of bug #36133 (project octave):

              Item Group:       Inaccurate Result => Matlab Compatibility   
                 Summary: num2str displays more than 16 significant digits for
large integer inputs => num2str fails to switch from integer output to
exponential notation for large values

    _______________________________________________________

Follow-up Comment #14:

Matlab behavior has changed since this bug was originally reported.  This is
all to the good because sprintf is now compatible without us having to change
anything.  Mixed floating point / integer arrays are also displayed
correctly.

The remaining difference is integer arrays with large values.  I have re-title
the bug report to reflect that.  I'm also changing the classification to
"Matlab Compatibility".

I pushed a changeset which updates the BIST tests for num2str to focus on this
remaining difference.  See
https://hg.savannah.gnu.org/hgweb/octave/rev/8f8d3fef29a8.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36133>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]