SkillAgentSearch skills...

Wide

Uint128 and Int128 for Go

Install / Use

/learn @ryanavella/Wide
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Go Report Card License: MIT License: Unlicense

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

See contributor guidelines.

Related Skills

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated1y ago
Forks3

Languages

Go

Security Score

75/100

Audited on Feb 25, 2025

No findings