summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/mathutil/sqr.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/mathutil/sqr.go')
-rw-r--r--vendor/modernc.org/mathutil/sqr.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/vendor/modernc.org/mathutil/sqr.go b/vendor/modernc.org/mathutil/sqr.go
deleted file mode 100644
index b7e15c9d1..000000000
--- a/vendor/modernc.org/mathutil/sqr.go
+++ /dev/null
@@ -1,12 +0,0 @@
-//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()
-}