|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #46859] floating point error in range results in non-integer value |
Date: | Thu, 16 Aug 2018 20:40:06 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 |
Update of bug #46859 (project octave): Item Group: Matlab Compatibility => Incorrect Result Status: Confirmed => Fixed Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #12: I checked in a changeset that forces the internal rng_limit to be an integer if the base and increment are integers. This is executed just once per construction of a range so there is no performance hit. I also added BIST tests to check the behavior. See https://hg.savannah.gnu.org/hgweb/octave/rev/dc47c9e48801. Marking bug as fixed and closing report. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?46859> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |