GOLD1 · PRIME COUNTING

Count primes.
Keep the interval exact.

Gold1 is the prime-counting engine in the Chromatic family, with a dedicated Count Primes workflow and a separate benchmark path.

PUBLIC SCOPE

What this engine is for.

A concise public surface around a private numerical implementation.

Primary surfaceCount primes over an explicit integer interval
Benchmark referenceprimecount comparison path in the private Lab
Colour identityGold

CAPABILITY MAP

Current public capabilities.

Capabilities are described without shipping implementation details into the browser.

01

Count Primes

Choose an exact lower and upper bound; the private Lab preserves large integer endpoints without browser-number rounding.

02

Benchmark

Compare Gold1 against an appropriate primecount reference under recorded conditions.

03

Setup

Build, doctor and validation maintenance are grouped behind setup rather than cluttering the primary public action.

Claim boundary

A correct count under a recorded interval is evidence. A timing result is not meaningful unless both implementations agree on the exact workload and result.