]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
DW:
authorwessels <>
Wed, 2 Aug 2000 04:31:16 +0000 (04:31 +0000)
committerwessels <>
Wed, 2 Aug 2000 04:31:16 +0000 (04:31 +0000)
 - add some comments and ref about floating point math in C.

src/carp.cc

index d073fcbf5c75c3439627b04be724cfddb7b046c1..38c92a9dc1ddb6bde88a847f6b9ce98adbb648c6 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: carp.cc,v 1.11 2000/08/01 22:01:29 wessels Exp $
+ * $Id: carp.cc,v 1.12 2000/08/01 22:31:16 wessels Exp $
  *
  * DEBUG: section 39    Cache Array Routing Protocol
  * AUTHOR: Eric Stern
@@ -59,7 +59,8 @@ carpInit(void)
     }
     /*
      * sum of carp-load-factor's for all cache_peer's in squid.conf
-     * must equal 1.0
+     * must equal 1.0.  If this doesn't work, see
+     * http://www.eskimo.com/~scs/C-faq/q14.4.html
      */
     assert(1000 == (int) (1000.0 * a));
     k = 1;