Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daskol/go.int128
Trial implemntation of 128 bit arithmetics in Go
https://github.com/daskol/go.int128
assembler go golang int128
Last synced: about 2 months ago
JSON representation
Trial implemntation of 128 bit arithmetics in Go
- Host: GitHub
- URL: https://github.com/daskol/go.int128
- Owner: daskol
- License: bsd-3-clause
- Created: 2018-07-26T18:43:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-26T21:25:00.000Z (over 6 years ago)
- Last Synced: 2024-10-18T19:07:21.751Z (3 months ago)
- Topics: assembler, go, golang, int128
- Language: Go
- Size: 1.95 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go.Int128
*trial implemntation of 128 bit arithmetics in Go*
## Overview
Now only summation of 128 bit integers are implemented. The benchmark below
shows supremacy of the custom implentation.```
goos: linux
goarch: amd64
pkg: github.com/daskol/go.int128
BenchmarkAdd/Simple-4 2000000000 0.37 ns/op
BenchmarkBigAdd/Simple-4 100000000 17.1 ns/op
BenchmarkInt128Add/Simple-4 500000000 3.62 ns/op
PASS
ok github.com/daskol/go.int128 4.697s
```