I was wondering if there are any Math people here that would be able to construct an equation for me. The equation needs to return 1 when 10 is inputted, and 0 when any other number is inputted. (please try to make it as concise and efficient as possible).
Unfortunately, I was trying to avoid using ternary operators. I heard using Math functions are faster then ternary operators, and my task requires absolute performance.