Statements
math.pi^2 > math.pi^math.pi 2 > math.pi
Example 1
bit.blshift(97, math.pi^2) = 49664
Example 2
bit.blshift(97, math.pi^math.pi) = 1552
Edited by Ice Cream, 06 July 2015 - 07:04 AM.
Posted 06 July 2015 - 07:03 AM
math.pi^2 > math.pi^math.pi 2 > math.pi
bit.blshift(97, math.pi^2) = 49664
bit.blshift(97, math.pi^math.pi) = 1552
Edited by Ice Cream, 06 July 2015 - 07:04 AM.
Posted 06 July 2015 - 07:32 AM
Posted 06 July 2015 - 08:11 AM
Lyqyd, on 06 July 2015 - 07:32 AM, said:
Edited by Ice Cream, 06 July 2015 - 08:28 AM.
Posted 06 July 2015 - 09:59 AM
function bit.blshift (num, n) n = math.floor(n) % 32 return leftShiftNumber(num, n) end
n = math.floor(36.4) = 36 n = 36 % 32 = 4
Posted 06 July 2015 - 10:53 AM
0 members, 1 guests, 0 anonymous users