github.com/remyoudompheng/bigfft@v0.0.0-20230129092748-24d4a6f8daec/arith_decl.go (about)

     1  // Copyright 2010 The Go Authors.  All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package bigfft
     6  
     7  import (
     8  	"math/big"
     9  	_ "unsafe"
    10  )
    11  
    12  type Word = big.Word
    13  
    14  //go:linkname addVV math/big.addVV
    15  func addVV(z, x, y []Word) (c Word)
    16  
    17  //go:linkname subVV math/big.subVV
    18  func subVV(z, x, y []Word) (c Word)
    19  
    20  //go:linkname addVW math/big.addVW
    21  func addVW(z, x []Word, y Word) (c Word)
    22  
    23  //go:linkname subVW math/big.subVW
    24  func subVW(z, x []Word, y Word) (c Word)
    25  
    26  //go:linkname shlVU math/big.shlVU
    27  func shlVU(z, x []Word, s uint) (c Word)
    28  
    29  //go:linkname mulAddVWW math/big.mulAddVWW
    30  func mulAddVWW(z, x []Word, y, r Word) (c Word)
    31  
    32  //go:linkname addMulVVW math/big.addMulVVW
    33  func addMulVVW(z, x []Word, y Word) (c Word)