Category talk:Wren-math: Difference between revisions
Content added Content deleted
(→Source code: Added Int.nextPrime method.) |
m (→Source code: Fixed syntax highlighting.) |
||
Line 1: | Line 1: | ||
===Source code=== |
===Source code=== |
||
< |
<syntaxhighlight lang=ecmascript>/* Module "math.wren" */ |
||
/* Math supplements the Num class with various other operations on numbers. */ |
/* Math supplements the Num class with various other operations on numbers. */ |
||
Line 618: | Line 618: | ||
return itob_(btoi_(b1) ^ btoi_(b2)) |
return itob_(btoi_(b1) ^ btoi_(b2)) |
||
} |
} |
||
}</ |
}</syntaxhighlight> |