Wide
Uint128 and Int128 for Go
Install / Use
/learn @ryanavella/WideREADME
Wide
Uint128 and Int128 for Go.
Wide is free and open source software distributed under the terms of both the MIT License and the Unlicense.
Installing
go get github.com/ryanavella/wide
Usage
package main
import (
"fmt"
"github.com/ryanavella/wide"
)
func main() {
a := wide.Int128FromInt64(-3)
b := wide.Int128FromInt64(2)
fmt.Println(a, b, a.Add(b), a.Sub(b), a.Mul(b), a.Div(b), a.Mod(b))
}
Scope
This package is intended for efficient and fast computations (i.e. for scientific and mathematical applications). There are no plans to support applications which require constant-time cryptographic security.
Contributions
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
xurl
345.9kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
