On Friday, 22 January 2016 at 20:41:23 UTC, anonymous wrote: > On 22.01.2016 21:34, Iakh wrote: >> This code returns 0 for any input v > > It seems to return 5 here: http://dpaste.dzfl.pl/85fb8e5c4b6b Yeah. Sorry. My bad.