File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -18,59 +18,68 @@ variants (e.g. mul_i, mul_n) together with a single description.
18
18
## abs
19
19
* abs_i(int $i)
20
20
* abs_n(num $n)
21
+ * abs_I(Int $i)
21
22
22
23
Return the absolute value of a number.
23
24
24
25
## add
25
26
* add_i(int $l, int $r)
26
27
* add_n(num $l, num $r)
28
+ * add_I(Int $l, Int $r)
27
29
28
30
Add two numbers together, returning the result.
29
31
30
32
## div
31
33
* div_i(int $l, int $r)
32
34
* div_n(num $l, num $r)
35
+ * div_I(Int $l, Int $r)
33
36
34
37
Divide $l by $r, returning the result.
35
38
36
39
## gcd
37
40
* gcd_i(int $l, int $r)
41
+ * gcd_I(Int $l, Int $r)
38
42
39
43
Return the greatest common multiple of two numbers.
40
44
41
45
## lcm
42
46
* lcm_i(int $l, int $r)
47
+ * lcm_I(Int $l, Int $r)
43
48
44
49
Return the lowest common multiple of two numbers.
45
50
46
51
## mod
47
52
* mod_i(int $l, int $r)
48
53
* mod_n(num $l, num $r)
54
+ * mod_I(Int $l, Int $r)
49
55
50
56
Return the modulus of $l by $r.
51
57
52
58
## mul
53
59
* mul_i(int $l, int $r)
54
60
* mul_n(num $l, num $r)
61
+ * mul_I(Int $l, Int $r)
55
62
56
63
Multiple two numbers, returning the result.
57
64
58
65
## neg
59
66
* neg_i(int $i)
60
67
* neg_n(num $n)
68
+ * neg_I(Int $i)
61
69
62
70
Return the negative of a number.
63
71
64
72
## sub
65
73
* sub_i(int $l, int $r)
66
74
* sub_n(num $l, num $r)
75
+ * sub_I(Int $l, Int $r)
67
76
68
77
Subtract $r from $l, returning the result.
69
78
70
79
# String Opcodes
71
80
72
81
## radix
73
- * radix (int $radix, String $str, int $pos, int $flags)
82
+ * radix_I (int $radix, String $str, int $pos, int $flags)
74
83
75
84
Convert string $str into a number starting at offset $pos and using radix $radix.
76
85
The result of the conversion returns an array with
You can’t perform that action at this time.
0 commit comments