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

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

[Octave-bug-tracker] [bug #64692] colon range includes an extra value


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #64692] colon range includes an extra value
Date: Fri, 22 Sep 2023 16:52:13 -0400 (EDT)

Follow-up Comment #22, bug #64692 (project octave):

I wouldn't try to guess what is "dangerous" or not.  I'd just have something
like

* if base and increment are integers and limit is not, warn about that
(maybe)
* if either base or increment are not integers, warn that floating point
ranges may produce unexpected results

In any case, the warning should have an ID like Octave:floating-point-range to
allow it to be disabled.

And, of course, any warning like this needs to be disabled if Octave is
started with the --traditional option.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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