From a9bbfd54dc380edb827f11b6b8b2cdb92fd48234 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Wed, 2 Aug 2000 04:31:16 +0000 Subject: [PATCH] DW: - add some comments and ref about floating point math in C. --- src/carp.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.47.3