Update dependencies
This commit is contained in:
8
vendor/modernc.org/mathutil/binarylog.go
generated
vendored
8
vendor/modernc.org/mathutil/binarylog.go
generated
vendored
@ -6,8 +6,6 @@ package mathutil // import "modernc.org/mathutil"
|
||||
|
||||
import (
|
||||
"math/big"
|
||||
|
||||
"github.com/remyoudompheng/bigfft"
|
||||
)
|
||||
|
||||
type float struct {
|
||||
@ -55,12 +53,6 @@ func (f *float) div2() {
|
||||
f.normalize()
|
||||
}
|
||||
|
||||
func (f *float) sqr() {
|
||||
f.n = bigfft.Mul(f.n, f.n)
|
||||
f.fracBits *= 2
|
||||
f.normalize()
|
||||
}
|
||||
|
||||
// BinaryLog computes the binary logarithm of n. The result consists of a
|
||||
// characteristic and a mantissa having precision mantissaBits. The value of
|
||||
// the binary logarithm is
|
||||
|
Reference in New Issue
Block a user