Compiled Rust Capsules (rustc -C opt-level=3): 2049 (203973 B .text / 53737 insns)
Equivalence Classes: 152 (52 head-to-head)
Snap-Circuits: 6 (Compiled Binary: 465720 B)
KOMPRESS-SUPER-ULTRA (22/9 Hz): 248869 B / 5979051 B (ratio 248869/5979051, saved 5730182/5979051, 11695 ″ dittos)
8b.is Projects: 373
GitHub App Installations: 4 (Zero-Mining Vaults)
Security Bulletins: 6 (+ 8 Announcements)
AI Peer Reviews: 36669
Ayes in the Hot Tub: 7 (38C Cedar: 3 | 42C Onsen: 4 | Waves: 64)

Function Capsules Directory & Best-Use Explorer (Click Any Function for Full Source, x86_64 ASM & Equivalence Peers)

Search Functions & Best Use: Reset
Live _rdtsc Benchmark:
Showing 1..2 of 2 matching capsules (Page 1 of 1)
Rank & CrownFunction Name & DomainBest Use & Snap-Circuit RolePin Signature & 64-Vec HashHardware _rdtsc (p/q)Details & Quick Peek
#26
CROWN #1 of 2 <10 CYC
ilog2_1p_q4
domain: ayecast-x86_64 | id: b8e9f4987afc
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Exact Integer Number Theory & Transcendentals
Hardware-verified modular arithmetic, integer roots, and combinatorial invariants for exact rational math engines and cryptographic primitives.
Specialized Multi-Pin Stage `(u64)->u8` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64)->u8
64-vec BLAKE3: 7726ce57c243
C64 RAM: 39/8192 (312 B src)
1074443/200000 cyc/op
116609/80000 ns/op | 80000000/116609 ops/us
78 B .text (25 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (312 B)
pub const fn ilog2_1p_q4(v: u64) -> u8 { let x = v.saturating_add(1); let lz = x.leading_zeros(); let exp = 63u32.saturating_sub(lz); let mantissa = if exp >= 4 { ((x >> (exp - 4)) & 0x0F) as u32 } else { ((x << (4 - exp)) & 0x0F) as u32 }; let q4 = (exp << 4) | mantissa; if q4 > 255 { 255 } else { q4 as u8 } }
#27
PEER of 2 <10 CYC
ilog2_1p_q4
domain: ayecast-x86_64 | id: 539985bf48ce
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Exact Integer Number Theory & Transcendentals
Hardware-verified modular arithmetic, integer roots, and combinatorial invariants for exact rational math engines and cryptographic primitives.
Specialized Multi-Pin Stage `(u64)->u8` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64)->u8
64-vec BLAKE3: 7726ce57c243
C64 RAM: 45/8192 (360 B src)
268503/50000 cyc/op
23311/16000 ns/op | 16000000/23311 ops/us
78 B .text (25 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (360 B)
pub const fn ilog2_1p_q4(v: u64) -> u8 {
    let x = v.saturating_add(1);
    let lz = x.leading_zeros();
    let exp = 63u32.saturating_sub(lz);
    let mantissa = if exp >= 4 {
        ((x >> (exp - 4)) & 0x0F) as u32
    } else {
        ((x << (4 - exp)) & 0x0F) as u32
    };
    let q4 = (exp << 4) | mantissa;
    if q4 > 255 { 255 } else { q4 as u8 }
}
Page 1 of 1 (2 total capsules)