Difference between revisions of "LlModPow"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{LSLFunctionAll|func_id=300|func_sleep=1.0|func_energy=10.0|func=llModPow|return_type=integer|p1_type=integer|p1_name=a|p2_type=integer|p2_name=b|p3_type=integer|p3_name=c|func_footnote=Returns a raised to the b power, mod c. ( (a**b)%c ). b is capped at 0xFFF (16 bits).|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSL_Function
|func_id=300|func_sleep=1.0|func_energy=10.0
|func=llModPow|return_type=integer
|p1_type=integer|p1_name=a
|p2_type=integer|p2_name=b|p2_desc=capped at 0xFFF (16 bits)
|p3_type=integer|p3_name=c
|func_footnote
|func_desc
|return_text=that is '''a''' raised to the '''b''' power, mod '''c'''. ( ('''a'''**'''b''')%'''c''' )
|spec
|caveats=*'''b''' is capped at 0xFFF (16 bits)
|constants
|examples
|helpers
|also_functions
|also_events
|also_tests
|also_articles
|notes
|permission
|negative_index
|sort=ModPow
|cat1
|cat2
|cat3
|cat4
}}

Revision as of 18:39, 11 February 2007