bugGNU Octave - Bugs: bug #34696, num2str needs more space for...

 
 

bug #34696: num2str needs more space for vector doubles

Submitted by:  None
Submitted on:  Sun 30 Oct 2011 08:34:52 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: sam sirlinOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.4.3
Operating System: BSD

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 11 Apr 2012 04:58:02 AM UTC, comment #1:

num2str was redrafted in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/34c932e669c8). This issue has now been fixed. The change will become visible in release 3.8.0 or you can build from Mercurial sources to get it immediately.

Rik <rik5>
Project Administrator
Sun 30 Oct 2011 08:34:52 AM UTC, original submission:

num2str sometimes runs numbers together with no space:

A simple fix is to use on line 171 of num2str.m
fmt = "%12.5g";

(original line is
fmt = "%11.5g";
)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by kamaraju
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 Apr 2012 04:58:02 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 07 Apr 2012 05:58:27 PM UTCkamarajuCarbon-Copy-=>Added kamaraju

    Back to the top


    Powered by Savane 3.1-cleanup1