2021-08-29 16:41:41 +02: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-06 11:00:53 +01:00
|
|
|
import (
|
|
|
|
"math/big"
|
|
|
|
_ "unsafe"
|
|
|
|
)
|
2021-08-29 16:41:41 +02:00
|
|
|
|
2023-03-06 11:00:53 +01:00
|
|
|
type Word = big.Word
|
|
|
|
|
|
|
|
//go:linkname addVV math/big.addVV
|
2021-08-29 16:41:41 +02:00
|
|
|
func addVV(z, x, y []Word) (c Word)
|
2023-03-06 11:00:53 +01:00
|
|
|
|
|
|
|
//go:linkname subVV math/big.subVV
|
2021-08-29 16:41:41 +02:00
|
|
|
func subVV(z, x, y []Word) (c Word)
|
2023-03-06 11:00:53 +01:00
|
|
|
|
|
|
|
//go:linkname addVW math/big.addVW
|
2021-08-29 16:41:41 +02:00
|
|
|
func addVW(z, x []Word, y Word) (c Word)
|
2023-03-06 11:00:53 +01:00
|
|
|
|
|
|
|
//go:linkname subVW math/big.subVW
|
2021-08-29 16:41:41 +02:00
|
|
|
func subVW(z, x []Word, y Word) (c Word)
|
2023-03-06 11:00:53 +01:00
|
|
|
|
|
|
|
//go:linkname shlVU math/big.shlVU
|
2021-08-29 16:41:41 +02:00
|
|
|
func shlVU(z, x []Word, s uint) (c Word)
|
2023-03-06 11:00:53 +01:00
|
|
|
|
|
|
|
//go:linkname mulAddVWW math/big.mulAddVWW
|
2021-08-29 16:41:41 +02:00
|
|
|
func mulAddVWW(z, x []Word, y, r Word) (c Word)
|
2023-03-06 11:00:53 +01:00
|
|
|
|
|
|
|
//go:linkname addMulVVW math/big.addMulVVW
|
2021-08-29 16:41:41 +02:00
|
|
|
func addMulVVW(z, x []Word, y Word) (c Word)
|