Updated dependencies

This commit is contained in:
n1474335 2018-01-26 19:14:05 +00:00
parent 614af0602a
commit 1c711f5e03
9 changed files with 1722 additions and 256 deletions

View file

@ -69,7 +69,7 @@ const BCD = {
runToBCD: function(input, args) {
if (input.isNaN())
return "Invalid input";
if (!input.floor().equals(input))
if (!input.integerValue(BigNumber.ROUND_DOWN).isEqualTo(input))
return "Fractional values are not supported by BCD";
const encoding = BCD.ENCODING_LOOKUP[args[0]],