github.com/q45/go@v0.0.0-20151101211701-a4fb8c13db3f/src/cmd/compile/internal/big/arith_decl.go (about)

     1  // Copyright 2015 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 big
     6  
     7  func mulWW(x, y Word) (z1, z0 Word) {
     8  	return mulWW_g(x, y)
     9  }
    10  
    11  func divWW(x1, x0, y Word) (q, r Word) {
    12  	return divWW_g(x1, x0, y)
    13  }
    14  
    15  func addVV(z, x, y []Word) (c Word) {
    16  	return addVV_g(z, x, y)
    17  }
    18  
    19  func subVV(z, x, y []Word) (c Word) {
    20  	return subVV_g(z, x, y)
    21  }
    22  
    23  func addVW(z, x []Word, y Word) (c Word) {
    24  	return addVW_g(z, x, y)
    25  }
    26  
    27  func subVW(z, x []Word, y Word) (c Word) {
    28  	return subVW_g(z, x, y)
    29  }
    30  
    31  func shlVU(z, x []Word, s uint) (c Word) {
    32  	return shlVU_g(z, x, s)
    33  }
    34  
    35  func shrVU(z, x []Word, s uint) (c Word) {
    36  	return shrVU_g(z, x, s)
    37  }
    38  
    39  func mulAddVWW(z, x []Word, y, r Word) (c Word) {
    40  	return mulAddVWW_g(z, x, y, r)
    41  }
    42  
    43  func addMulVVW(z, x []Word, y Word) (c Word) {
    44  	return addMulVVW_g(z, x, y)
    45  }
    46  
    47  func divWVW(z []Word, xn Word, x []Word, y Word) (r Word) {
    48  	return divWVW_g(z, xn, x, y)
    49  }
    50  
    51  func bitLen(x Word) (n int) {
    52  	return bitLen_g(x)
    53  }