apcn

High-Performance Arbitrary Precision Constant Numbers Calculation in Rust

An extremely fast, multi-threaded arbitrary-precision mathematical constant calculator written in Rust.

π
Pi (π) Speed 189 ms 1M Digits computation time
e
Euler's Number (e) Speed 68 ms 1M Digits computation time
Install CLI Utility
curl -sS https://raw.githubusercontent.com/BreezeWhite/apcn-rs/main/install.sh | sh
WASM Integration Example

Integrate APCN calculations directly into your web applications in a single line.

// Import and initialize the WASM module
import init, { compute_pi } from "https://esm.sh/@breezewhite_yo/apcn";

await init();
const pi = compute_pi(1000); // 1,000 digits!
console.log(pi);

Release Download Portal (loading...)

Fetching precompiled binary assets directly from the latest GitHub releases.