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/interplane-mv/blob/main/adapters/aien/fixtures/fix_the_test/solution/clamp.c # interplane-mv INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `interplane-mv / adapters / aien / fixtures / fix_the_test / solution / clamp.c` 11 lines ยท 176 bytes Raw Blame History 1 #include "clamp.h" 2 3 /* Limit v to the range lo..hi. */ 4 int clamp(int v, int lo, int hi) 5 { 6 if (v < lo) 7 return lo; 8 if (v > hi) 9 return hi; 10 return v; 11 }