mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-04 06:22:59 +00:00
Merge pull request #913 from qlyoung/remove-powl
lib: remove last powl()
This commit is contained in:
commit
aebe076f37
@ -404,7 +404,7 @@ DEFUN(show_hash_stats,
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
ssq = (long double)h->stats.ssq;
|
ssq = (long double)h->stats.ssq;
|
||||||
x2 = powl(h->count, 2.0);
|
x2 = h->count * h->count;
|
||||||
ldc = (long double)h->count;
|
ldc = (long double)h->count;
|
||||||
full = h->size - h->stats.empty;
|
full = h->size - h->stats.empty;
|
||||||
lf = h->count / (double)h->size;
|
lf = h->count / (double)h->size;
|
||||||
|
Loading…
Reference in New Issue
Block a user