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

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

[Octave-bug-tracker] [bug #47607] Boolean values display with space like


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #47607] Boolean values display with space like doubles, but should display like uint8
Date: Sat, 02 Apr 2016 18:10:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Update of bug #47607 (project octave):

                Severity:              3 - Normal => 1 - Wish               
              Item Group:       Inaccurate Result => Feature Request        
                  Status:                    None => Confirmed              
        Operating System:               GNU/Linux => Any                    

    _______________________________________________________

Follow-up Comment #1:

Thanks for the bug report. Agree that this is especially egregious with
"format long g" in effect.

Normal output:


>> logical (round (rand (8)))
ans =

   1   1   0   1   1   0   0   1
   1   0   0   0   1   1   0   0
   0   1   1   0   0   1   1   0
   0   0   0   0   0   1   1   0
   0   0   0   0   1   0   1   0
   1   1   0   0   0   1   1   1
   0   0   1   0   1   1   1   1
   0   0   0   0   1   0   0   0

>> int32 (round (rand (8)))
ans =

  1  0  1  0  0  1  1  1
  0  1  0  1  1  0  1  1
  0  0  0  1  1  0  0  0
  0  0  1  1  1  0  0  1
  0  0  1  0  0  1  0  1
  1  1  1  1  1  1  0  0
  1  1  0  0  1  1  0  0
  0  1  1  0  0  0  1  1



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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