2022-01-31 00:27:37 +01:00
|
|
|
// Copyright 2010 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package bigfft
|
|
|
|
|
2023-03-09 22:48:00 +01:00
|
|
|
import (
|
|
|
|
"math/big"
|
|
|
|
_ "unsafe"
|
|
|
|
)
|
2022-01-31 00:27:37 +01:00
|
|
|
|
2023-03-09 22:48:00 +01:00
|
|
|
type Word = big.Word
|
|
|
|
|
|
|
|
//go:linkname addVV math/big.addVV
|
2022-01-31 00:27:37 +01:00
|
|
|
func addVV(z, x, y []Word) (c Word)
|
2023-03-09 22:48:00 +01:00
|
|
|
|
|
|
|
//go:linkname subVV math/big.subVV
|
2022-01-31 00:27:37 +01:00
|
|
|
func subVV(z, x, y []Word) (c Word)
|
2023-03-09 22:48:00 +01:00
|
|
|
|
|
|
|
//go:linkname addVW math/big.addVW
|
2022-01-31 00:27:37 +01:00
|
|
|
func addVW(z, x []Word, y Word) (c Word)
|
2023-03-09 22:48:00 +01:00
|
|
|
|
|
|
|
//go:linkname subVW math/big.subVW
|
2022-01-31 00:27:37 +01:00
|
|
|
func subVW(z, x []Word, y Word) (c Word)
|
2023-03-09 22:48:00 +01:00
|
|
|
|
|
|
|
//go:linkname shlVU math/big.shlVU
|
2022-01-31 00:27:37 +01:00
|
|
|
func shlVU(z, x []Word, s uint) (c Word)
|
2023-03-09 22:48:00 +01:00
|
|
|
|
|
|
|
//go:linkname mulAddVWW math/big.mulAddVWW
|
2022-01-31 00:27:37 +01:00
|
|
|
func mulAddVWW(z, x []Word, y, r Word) (c Word)
|
2023-03-09 22:48:00 +01:00
|
|
|
|
|
|
|
//go:linkname addMulVVW math/big.addMulVVW
|
2022-01-31 00:27:37 +01:00
|
|
|
func addMulVVW(z, x []Word, y Word) (c Word)
|