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

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

[Octave-bug-tracker] [bug #35131] symvar() incorrectly identifies floati


From: anonymous
Subject: [Octave-bug-tracker] [bug #35131] symvar() incorrectly identifies floating point "e" as variable
Date: Tue, 20 Dec 2011 21:24:47 +0000
User-agent: Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0

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

                 Summary: symvar() incorrectly identifies floating point "e"
as variable
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 20 Dec 2011 21:24:45 UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: J.J. Green
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

It seems that Octave's symvar() does not parse floating point exponential
notation correctly:


octave:4> symvar('1e-3*x')
ans = 
{
  [1,1] = e
  [2,1] = x
}


While Matlab gets it right:

>> symvar('1e-3*x')
ans = 
    'x'






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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