From: wessels <> Date: Wed, 2 Aug 2000 04:31:16 +0000 (+0000) Subject: DW: X-Git-Tag: SQUID_3_0_PRE1~1879 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a9bbfd54dc380edb827f11b6b8b2cdb92fd48234;p=thirdparty%2Fsquid.git DW: - add some comments and ref about floating point math in C. --- diff --git a/src/carp.cc b/src/carp.cc index d073fcbf5c..38c92a9dc1 100644 --- a/src/carp.cc +++ b/src/carp.cc @@ -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;