interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / bridge / ggml / kernels / rtsc.om

6 lines · 229 bytes Raw Blame History
1note rtsc: the rope theta scale powf(base, -2/n_dims) as f32 bits (base f32 bits).
2fn rtsc base ulong nd ulong to ulong
3b = bitcast f32 uint base
4ex = div f32 -2.0 f32 nd
5ret ulong bitcast uint f32 ex64 mul f64 ex ln64 f64 b
6end