Skip to content

Commit d7928c6

Browse files
✨ feat(integer): Export n instructions.
1 parent 21fce1b commit d7928c6

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

src/integer.js

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,51 @@ export function mod ( first , second ) {
6767
export function imod ( first , second ) {
6868
return first.imod(second) ;
6969
}
70+
71+
export function addn ( first , second ) {
72+
return first.addn(second) ;
73+
}
74+
75+
export function iaddn ( first , second ) {
76+
return first.iaddn(second) ;
77+
}
78+
79+
export function subn ( first , second ) {
80+
return first.subn(second) ;
81+
}
82+
83+
export function isubn ( first , second ) {
84+
return first.isubn(second) ;
85+
}
86+
87+
export function muln ( first , second ) {
88+
return first.muln(second) ;
89+
}
90+
91+
export function imuln ( first , second ) {
92+
return first.imuln(second) ;
93+
}
94+
95+
export function pown ( first , second ) {
96+
return first.pown(second) ;
97+
}
98+
99+
export function ipown ( first , second ) {
100+
return first.ipown(second) ;
101+
}
102+
103+
export function divn ( first , second ) {
104+
return first.divn(second) ;
105+
}
106+
107+
export function idivn ( first , second ) {
108+
return first.idivn(second) ;
109+
}
110+
111+
export function modn ( first , second ) {
112+
return first.modn(second) ;
113+
}
114+
115+
export function imodn ( first , second ) {
116+
return first.imodn(second) ;
117+
}

0 commit comments

Comments
 (0)