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

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

[Octave-bug-tracker] [bug #37535] Numeric functions don't check for stri


From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #37535] Numeric functions don't check for string inputs
Date: Wed, 10 Oct 2012 18:16:53 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Voidfish/3.6.13

Update of bug #37535 (project octave):

                Severity:              3 - Normal => 2 - Minor              
                Priority:              5 - Normal => 3 - Low                
                 Summary:   "cos 1" vs "cos (1)"  => Numeric functions don't
check for string inputs

    _______________________________________________________

Follow-up Comment #5:

If Matlab really behaves this way, it's going to take a huge effort to make
Octave error out for all of the numeric functions erroring out on string
inputs. It's not just "cos 1", but "exp 1" and "nextpow2 1" and "abs 1" and
"sign -1" and so on. A lot of these can be caught as mappers, but the rest of
them would have to be checked individually.

Since this doesn't affect working Matlab code, I'm reducing the priority.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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