llModPow
function ll.ModPow(Value: number, Power: number, Modulus: number): numberReturns a Value raised to the Power, mod Modulus. ((a**b)%c) b is capped at 0xFFFF (16 bits).
Returns (Value ^ Power) % Modulus. (Value raised to the Power, Modulus). Value is capped at 0xFFFF (16 bits).
Parameters
-
Value(number) -
Power(number) -
Modulus(number)
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.ModPow().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llModPow