[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32b
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit |
Date: |
Thu, 3 Sep 2020 10:57:27 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #49, bug #58795 (project octave):
Gnulib has macros for checking whether integer operations overflow, or we
could (conditionally) use things like __builtin_mul_overflow to multiply
dimensions and check for overflow.
I recently noticed that one of the Octave dependencies (maybe it was
Sundials?) was using the portable snippets library for this job. Perhaps we
could use that or at least borrow ideas from it. See, for example,
https://github.com/nemequ/portable-snippets/tree/master/safe-math
I hope we can refactor so that we limit the number of places where checks like
this are needed.
See also bug #58790.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58795>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit, Markus Mützel, 2020/09/03
- [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit, Markus Mützel, 2020/09/03
- [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit, John W. Eaton, 2020/09/03
- [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit, Markus Mützel, 2020/09/03
- [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit,
John W. Eaton <=
- [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit, Markus Mützel, 2020/09/10
- [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit, Markus Mützel, 2020/09/10
- [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit, Markus Mützel, 2020/09/10
- [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit, Markus Mützel, 2020/09/10
- [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit, Markus Mützel, 2020/09/10
- [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit, Dmitri A. Sergatskov, 2020/09/10
- [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit, Markus Mützel, 2020/09/10
- [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit, Hg200, 2020/09/10
- [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit, Markus Mützel, 2020/09/10
- [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit, Hg200, 2020/09/11