Brandon Semilla
Brandon Semilla
been getting a similar error on windows, seems to work fine with 2.4.0 but not >=2.5.0 (though this may be a completely separate issue)
incidentally this is what i tried first; see [this section of the readme]( https://github.com/semibran/wrap-around/blob/master/readme.md#why-not-just-use-n--m) - `abs(n % m)` yields incorrect output e.g. `f(-4) -> 1` instead of `2`
Good thing 1 isn't a magic number 🙂 Sacrifices a bit of readability to get the order of ops right but I guess it is one less modulo. If you...