Update dependencies
This commit is contained in:
11
vendor/modernc.org/mathutil/sqr.go
generated
vendored
Normal file
11
vendor/modernc.org/mathutil/sqr.go
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
// +build !riscv64
|
||||
|
||||
package mathutil
|
||||
|
||||
import "github.com/remyoudompheng/bigfft"
|
||||
|
||||
func (f *float) sqr() {
|
||||
f.n = bigfft.Mul(f.n, f.n)
|
||||
f.fracBits *= 2
|
||||
f.normalize()
|
||||
}
|
Reference in New Issue
Block a user