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

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

[Octave-bug-tracker] [bug #33104] mat2str returns ugly result (different


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #33104] mat2str returns ugly result (different to Matlab)
Date: Sun, 17 Apr 2011 15:58:41 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 Safari/534.16

Update of bug #33104 (project octave):

                Category:                    None => Interpreter            
                  Status:                    None => Patch Submitted        
             Assigned to:                    None => bpabbott               

    _______________________________________________________

Follow-up Comment #1:

Looks like a trivial fix. The format specification by Octave uses 17 digits
which exceeds that of a double (i.e. EPS = 2.220446049250313e-16)

The attached patch changes the format to 15 digits (same as Matlab).

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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