[brlcad-commits] SF.net SVN: brlcad:[55171] brlcad/trunk/include/bu.h
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2013-04-17 18:51:13
|
Revision: 55171 http://brlcad.svn.sourceforge.net/brlcad/?rev=55171&view=rev Author: brlcad Date: 2013-04-17 18:51:02 +0000 (Wed, 17 Apr 2013) Log Message: ----------- unlikely to have HUGE_VALF and not HUGE_VAL so go with the bigger infinity first Modified Paths: -------------- brlcad/trunk/include/bu.h Modified: brlcad/trunk/include/bu.h =================================================================== --- brlcad/trunk/include/bu.h 2013-04-17 17:25:10 UTC (rev 55170) +++ brlcad/trunk/include/bu.h 2013-04-17 18:51:02 UTC (rev 55171) @@ -1271,10 +1271,10 @@ * the sign indicating positive (0) or negative (1) infinity. */ #ifndef INFINITY -# if defined(HUGE_VALF) +# if defined(HUGE_VAL) +# define INFINITY ((fastf_t)HUGE_VAL) +# elif defined(HUGE_VALF) # define INFINITY ((fastf_t)HUGE_VALF) -# elif defined(HUGE_VAL) -# define INFINITY ((fastf_t)HUGE_VAL) # elif defined(HUGE) # define INFINITY ((fastf_t)HUGE) # elif defined(MAXFLOAT) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |