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

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

[Octave-bug-tracker] [bug #40246] OpenGL should test data and abort plot


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #40246] OpenGL should test data and abort plot if range > float range
Date: Wed, 23 Oct 2013 16:33:09 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0

Follow-up Comment #11, bug #40246 (project octave):

Just as a remark, instead of:
if (x_max > floatmax || y_max > floatmax || z_max > floatmax)
 || (x-min < -floatmax || ... and so on ... )

the following is shorter, but maybe not quite as efficient?

if (abs(x_max) > floatmax || abs(y_max) > floatmax 
   || abs(z_max) > floatmax)

Sorry I did not say this before.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40246>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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