Skip to content

Commit 97f9b57

Browse files
committed
update to add _I variants.
1 parent a8eef0c commit 97f9b57

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/ops.markdown

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,59 +18,68 @@ variants (e.g. mul_i, mul_n) together with a single description.
1818
## abs
1919
* abs_i(int $i)
2020
* abs_n(num $n)
21+
* abs_I(Int $i)
2122

2223
Return the absolute value of a number.
2324

2425
## add
2526
* add_i(int $l, int $r)
2627
* add_n(num $l, num $r)
28+
* add_I(Int $l, Int $r)
2729

2830
Add two numbers together, returning the result.
2931

3032
## div
3133
* div_i(int $l, int $r)
3234
* div_n(num $l, num $r)
35+
* div_I(Int $l, Int $r)
3336

3437
Divide $l by $r, returning the result.
3538

3639
## gcd
3740
* gcd_i(int $l, int $r)
41+
* gcd_I(Int $l, Int $r)
3842

3943
Return the greatest common multiple of two numbers.
4044

4145
## lcm
4246
* lcm_i(int $l, int $r)
47+
* lcm_I(Int $l, Int $r)
4348

4449
Return the lowest common multiple of two numbers.
4550

4651
## mod
4752
* mod_i(int $l, int $r)
4853
* mod_n(num $l, num $r)
54+
* mod_I(Int $l, Int $r)
4955

5056
Return the modulus of $l by $r.
5157

5258
## mul
5359
* mul_i(int $l, int $r)
5460
* mul_n(num $l, num $r)
61+
* mul_I(Int $l, Int $r)
5562

5663
Multiple two numbers, returning the result.
5764

5865
## neg
5966
* neg_i(int $i)
6067
* neg_n(num $n)
68+
* neg_I(Int $i)
6169

6270
Return the negative of a number.
6371

6472
## sub
6573
* sub_i(int $l, int $r)
6674
* sub_n(num $l, num $r)
75+
* sub_I(Int $l, Int $r)
6776

6877
Subtract $r from $l, returning the result.
6978

7079
# String Opcodes
7180

7281
## radix
73-
* radix(int $radix, String $str, int $pos, int $flags)
82+
* radix_I(int $radix, String $str, int $pos, int $flags)
7483

7584
Convert string $str into a number starting at offset $pos and using radix $radix.
7685
The result of the conversion returns an array with

0 commit comments

Comments
 (0)