Add Nix flake for mciasctl and mciasgrpcctl
Vendor dependencies and expose control program binaries via nix build. Uses nixpkgs-unstable for Go 1.26 support. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
12
vendor/modernc.org/mathutil/sqr.go
generated
vendored
Normal file
12
vendor/modernc.org/mathutil/sqr.go
generated
vendored
Normal file
@@ -0,0 +1,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()
|
||||
}
|
||||
Reference in New Issue
Block a user