diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-08-04 10:58:00 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-08-04 10:58:00 -0400 |
| commit | 61b9e9d6b392d830d69fcada4be53cada28cd37a (patch) | |
| tree | f4d64e0d9ec10d4af72e5902ec20074f22f9e349 /lib/hash.c | |
| parent | adbbf7f92db5d7e3a986452bb7ca9f854b626827 (diff) | |
lib: remove last powl()
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/hash.c')
| -rw-r--r-- | lib/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
