File: mathutils_go.go

package info (click to toggle)
golang-github-gorgonia-tensor 0.9.24-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,696 kB
  • sloc: sh: 18; asm: 18; makefile: 8
file content (9 lines) | stat: -rw-r--r-- 107 bytes parent folder | download
1
2
3
4
5
6
7
8
9
// +build !amd64 noasm

package tensor

func divmod(a, b int) (q, r int) {
	q = a / b
	r = a % b
	return
}