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

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

[Octave-bug-tracker] [bug #51649] int64: 0/0


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #51649] int64: 0/0
Date: Thu, 3 Aug 2017 13:46:28 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #2, bug #51649 (project octave):

Octave only issues the divide-by-zero warning when the divisor is a scalar
value of zero.

It looks like Matlab used to issue a warning by default for division by zero,
but eliminated that sometime around 2009-2011. Now it seems there is no
warning by default, and possibly no way to even enable the warning.

I propose that "Octave:divide-by-zero" be added to the maximum_braindamage
list of warnings to disable by default. Or we could discuss disabling it by
default in Octave globally.

To the original comment, this is just the definition of the warning at the
moment, it is only issued when the divisor is a scalar, there is no check of
each individual element in the elementwise division operation.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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