blob: b7e15c9d1c70c49433c7009e1e630f9e2b7704e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//go:build !riscv64 && !loong64
// +build !riscv64,!loong64
package mathutil
import "github.com/remyoudompheng/bigfft"
func (f *float) sqr() {
f.n = bigfft.Mul(f.n, f.n)
f.fracBits *= 2
f.normalize()
}
|