Revision: 53792
          http://brlcad.svn.sourceforge.net/brlcad/?rev=53792&view=rev
Author:   brlcad
Date:     2012-11-21 05:06:36 +0000 (Wed, 21 Nov 2012)
Log Message:
-----------
document the INFINITY magic number for the fall-back case

Modified Paths:
--------------
    brlcad/trunk/include/bu.h

Modified: brlcad/trunk/include/bu.h
===================================================================
--- brlcad/trunk/include/bu.h   2012-11-21 04:55:40 UTC (rev 53791)
+++ brlcad/trunk/include/bu.h   2012-11-21 05:06:36 UTC (rev 53792)
@@ -1251,6 +1251,9 @@
 #  elif defined(MAXFLOAT)
 #    define INFINITY ((fastf_t)MAXFLOAT)
 #  else
+     /* all else fails, just pick something big slightly over 32-bit
+      * single-precision floating point that has worked well before.
+      */
 #    define INFINITY ((fastf_t)1.0e40)
 #  endif
 #endif

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to