Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/gpu/nvidia/om/apiviews/rope.om # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / gpu / nvidia / om / apiviews / rope.om` 18 lines ยท 441 bytes Raw Blame History 1 om2 2 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 3 note One head of the rope table: cos into the first half, sin into the second. 4 note len tab is twice len cs, and len sn equals len cs. The launch stays in C. 5 fn av_rope cs view f32 * sn view f32 * tab edit f32 * to ulong 6 if ne len cs len sn 7 ret 1 8 end 9 if ne len tab add len cs len cs 10 ret 1 11 end 12 h = len cs 13 for i ulong h 14 put tab i get cs i 15 put tab add i h get sn i 16 end 17 ret 0 18 end