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

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

[Octave-bug-tracker] [bug #39860] Incorrect printf output.


From: Rik
Subject: [Octave-bug-tracker] [bug #39860] Incorrect printf output.
Date: Fri, 23 Aug 2013 18:35:31 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0

Update of bug #39860 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #2:

Check the documentation for printf.  It iterates over as many elements as are
in the matrix.

Example:


x = [1 2 3];
printf ("%u\n", x)
1
2
3


In this case, argv is an empty matrix and size ([]) is [0 0], or a matrix of
two elements, which printf properly displays.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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