util for : map function
works fine in my pov, lemme know if you find errors :)

· · Web · 1 · 2 · 2

@frankiezafe maybe you already thought about it, but if you are somewhat modulating in_max and in_min when they happen to be equal you will get a division by 0 at line 5

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!