mirror of https://github.com/ohmyzsh/ohmyzsh.git
parent
e9991c6aa0
commit
90ffda7ed2
|
@ -43,7 +43,7 @@ fi
|
|||
|
||||
# Figure out how many words we need for 128 bits of security margin.
|
||||
# Each word adds log2($#words) bits.
|
||||
local -i n=$((ceil(128. / log2($#words))))
|
||||
local -i n=$((ceil(128. / (log($#words) / log(2)))))
|
||||
|
||||
{
|
||||
local c
|
||||
|
|
Loading…
Reference in New Issue