[Bug 95419] [HSW][regression][bisect] RPG Maker game gives "invalid floating point operation" at startup

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 18 23:37:37 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95419

--- Comment #12 from dnord <pinguin255 at gmail.com> ---
I don't understand the whole picture, but how often actually it's not enough
space (remaining_space < total_wants)? If it's usually enough space to
allocate, isn't it reasonable to distinguish (remaining_space >= total_wants)
as a separate case, which is not uses any floating-point arithmetic and just
allocates what was asked and for second case use original code, but with two
explicit checks added for total_wants==0?
Or use solution with "floor" for second case only, as it is simpler. Because
solution with "floor" may not allocate all requested space even in trivial case
(remaining_space >= total_wants). I don't know, is it acceptable to use "floor"
and allocate slightly less space than possible in second case (when
remaining_space < total_wants).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160518/ea70a806/attachment-0001.html>


More information about the intel-3d-bugs mailing list