Difference between revisions of "LlModPow"

From Second Life Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{LSL_Function
{{LSL_Function
|func_id=300|func_sleep=1.0|func_energy=10.0
|func_id=300|func_sleep=1.0|func_energy=10.0
|func=llModPow|return_type=integer
|func=llModPow|sort=ModPow
|return_type=integer
|p1_type=integer|p1_name=a
|p1_type=integer|p1_name=a
|p2_type=integer|p2_name=b|p2_desc=capped at 0xFFF (16 bits)
|p2_type=integer|p2_name=b
|p3_type=integer|p3_name=c
|p3_type=integer|p3_name=c
|func_footnote
|func_footnote
|func_desc  
|func_desc
|return_text=that is '''a''' raised to the '''b''' power, mod '''c'''. ( ('''a'''**'''b''')%'''c''' )
|return_text=that is '''a''' raised to the '''b''' power, mod '''c'''. ( ('''a'''**'''b''')%'''c''' )
|spec
|spec
|caveats=*'''b''' is capped at 0xFFF (16 bits)
|caveats=
|constants
|constants
|examples
|examples
Line 18: Line 19:
|also_articles
|also_articles
|notes
|notes
|permission
|cat1=Math
|negative_index
|sort=ModPow
|cat1
|cat2
|cat2
|cat3
|cat3
|cat4
|cat4
}}
}}

Latest revision as of 10:55, 8 December 2009