From: Quentin Young Date: Fri, 4 Aug 2017 14:58:00 +0000 (-0400) Subject: lib: remove last powl() X-Git-Tag: frr-4.0-dev~456^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F913%2Fhead;p=mirror%2Ffrr.git lib: remove last powl() Signed-off-by: Quentin Young --- diff --git a/lib/hash.c b/lib/hash.c index 1621d2a820..801871f839 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -404,7 +404,7 @@ DEFUN(show_hash_stats, continue; ssq = (long double)h->stats.ssq; - x2 = powl(h->count, 2.0); + x2 = h->count * h->count; ldc = (long double)h->count; full = h->size - h->stats.empty; lf = h->count / (double)h->size;