the algebraic way of defining if statements lol! now with this simple calculator, if you were to input 1000 planks and 2 sticks in a crafting table (even if you can get only up to 64 × 3 planks in 3 slots total ingame), you will only get 1 pickaxe as a result !!!! not 167 wooden pickaxes!!!!
i think its stops working when you put a big number, guessing numbers around 1e+17 (1 × 10^17) and above; and a number significantly smaller than the big number. so basically, put number of things you would use to craft a specified number of pickaxes and this calculator correctly counts how much you would make using only 1 function with two variables that being the # of sticks and planks