- Joined
- Jul 10, 2007
- Messages
- 6,306
* - Returns a number containing bitCount bits, the first bit (excluding leading 0s) being 1
* - Essentially*** (but not quite) a power of 2 function (2^(bits - 1))
* - Range: 1 to 32
* function Bits2String32 takes integer num returns string
* function Bits2String takes integer num returns string
* - Returns string of bits making up the number
* - Bit2String32 returns 32 bits with leading 0s while Bits2String returns exact bits.
num - num/ 2*2
operated? Does it turn to num - ((num / 2) * 2))
how doesnum - num/ 2*2
operated? Does it turn tonum - ((num / 2) * 2))
I was just asking.
Yes, multiply/divide take precedence over add/subtract and are scripted to process first, left to right.
5 - 5/3*3 is the same as 5-((5/3)*3), the parenthesis are just redundant for the compiler.