SkillAgentSearch skills...

Decimal64

Fast fixed point arithmetic that only uses u64 as internal representation.

Install / Use

/learn @HaveFunTrading/Decimal64
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Build Status Crates.io Documentation License: MIT

Decimal64

Fast fixed point arithmetic that only uses u64 as internal representation. Scale is expressed in form of generic ScaleMetrics parameter. Loosely inspired by Java Decimal4j.

Example

let d1 = DecimalU64::<U8>::from_str("123.45").unwrap();
let d2 = DecimalU64::<U8>::from_str("10").unwrap();
let d3 = d1 + d2;
assert_eq!("133.45000000", d3.to_string());

Related Skills

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated1mo ago
Forks3

Languages

Rust

Security Score

85/100

Audited on Feb 23, 2026

No findings