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.


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to