-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdec_arith_decl.go
More file actions
32 lines (18 loc) · 787 Bytes
/
dec_arith_decl.go
File metadata and controls
32 lines (18 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright 2020 Denis Bernard <db047h@gmail.com>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !decimal_pure_go,amd64
package decimal
// implemented in dec_arith_$GOARCH.s
func mul10WW(x, y Word) (z1, z0 Word)
func div10WW(x1, x0, y Word) (q, r Word)
func add10VV(z, x, y []Word) (c Word)
func div10W(n1, n0 Word) (q, r Word)
func sub10VV(z, x, y []Word) (c Word)
func add10VW(z, x []Word, y Word) (c Word)
func sub10VW(z, x []Word, y Word) (c Word)
func shl10VU(z, x []Word, s uint) (c Word)
func shr10VU(z, x []Word, s uint) (c Word)
func mulAdd10VWW(z, x []Word, y, r Word) (c Word)
func addMul10VVW(z, x []Word, y Word) (c Word)
func div10VWW(z, x []Word, y, xn Word) (r Word)