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

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

[Octave-bug-tracker] [bug #56961] Complex matrices with large values do


From: Rik
Subject: [Octave-bug-tracker] [bug #56961] Complex matrices with large values do not display correctly when fixed_point_format = true
Date: Sat, 28 Sep 2019 07:37:13 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0

URL:
  <https://savannah.gnu.org/bugs/?56961>

                 Summary: Complex matrices with large values do not display
correctly when fixed_point_format = true
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Sat 28 Sep 2019 04:37:12 AM PDT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Sample code to reproduce


fixed_point_format (1)
format long
x = [complex(pi*1e6, 1.2e2), complex(1.2e2, pi*1e6)]

x =

  1.0e+06 *

  0.0000031415926536 + 0.0001200000000000i  0.0000000001200000 +
3.1415926535897931i


The real part of x(1) and x(2) are off by 1e6.






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56961>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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