git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit feab13c39501456b20f90cec13af46229317a9e8

U256: add mul and div

Alex Beregszaszi committed on 8/13/2016, 1:47:00 AM
Parent: cc2f7e5e75589bab19cc4621f39f35fe4eb262d3

Files changed

u256.jschanged
u256.jsView
@@ -28,8 +28,16 @@
2828 add (u256) {
2929 return this._value.add(u256._value)
3030 }
3131
32+ mul (u256) {
33+ return this._value.mul(u256._value)
34+ }
35+
36+ div (u256) {
37+ return this._value.div(u256._value)
38+ }
39+
3240 lt (u256) {
3341 return this._value.lt(u256._value)
3442 }
3543

Built with git-ssb-web