|
| From: | Rik |
| Subject: | [Octave-bug-tracker] [bug #40246] OpenGL should test data and abort plot if range > float range |
| Date: | Fri, 11 Oct 2013 22:37:42 +0000 |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 |
Follow-up Comment #2, bug #40246 (project octave):
The tolerance should be an adjustable feature so we can tune it.
The problem for bug #33748 is not that realmax is exceeded but that the
precision is exceeded (only ~7 digits for single). So, this might be
something else to test for. In a quick and dirty test,
xmean = mean (x);
deltas = x .- xmean;
bad = any (deltas < eps (xmean));
But that would probably need some improving.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40246>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |