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

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

[Octave-bug-tracker] [bug #53083] fixed_point_format: incorrect align


From: nicodemus
Subject: [Octave-bug-tracker] [bug #53083] fixed_point_format: incorrect align
Date: Wed, 7 Feb 2018 03:56:59 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

URL:
  <http://savannah.gnu.org/bugs/?53083>

                 Summary: fixed_point_format: incorrect align 
                 Project: GNU Octave
            Submitted by: nicmus
            Submitted on: Wed 07 Feb 2018 08:56:57 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hello I noticed some problem in displaying matrices after using the
fixed_point_format option. In particular when some element is negative then
the minus causes some incorrect align.

Example:



@>> eye(4) + 1e-10*(rand(4)*2 -1)
ans =

   1.0000e+00  -8.2241e-11  -5.5211e-12   6.7249e-11
  -4.8330e-11   1.0000e+00  -6.9058e-11   5.6222e-11
  -8.7173e-11  -6.1014e-11   1.0000e+00   8.6248e-11
   6.6938e-11  -1.9031e-11   1.4162e-11   1.0000e+00

@>> fixed_point_format (1)
@>> ans
ans =

  1.00000  -0.00000  -0.00000  0.00000
  -0.00000  1.00000  -0.00000  0.00000
  -0.00000  -0.00000  1.00000  0.00000
  0.00000  -0.00000  0.00000  1.00000

@>>



Regards.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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