i'm trying to figure out what is the fastest way to do an odd / even check on numbers i don't know whether there is a mathematical way of achieving this i've heard that the fastest would be checking the last bit in the binary array but i wonder what % does for example

`if(b%2!=0) then odd`

does *%* do divisions till it finds the result that's why i ask

thank you in advance