ethereumjs-abi icon indicating copy to clipboard operation
ethereumjs-abi copied to clipboard

Passing negative numbers to uint/ufixed

Open axic opened this issue 9 years ago • 0 comments

Some other tools coerce negative numbers to their two's complement representation when passed to uint.

Should this library do the same?

I'm not entirely convinced it should, because then what should happen with ufixed?

axic avatar Jul 20 '16 21:07 axic