Skip to content

Frequently Asked Questions

Chick Markley edited this page Jun 27, 2017 · 1 revision

The FAQ

Q: I'm getting an error with poke(c.unsigned_32_bit_input, 0xfffffff)

A: This is a scala problem. The 0xffffffff is being converted to -1, before being coerced to a BigInt. The simple fix is to mark the input value as a long like this poke(c.unsigned_32_bit_input, 0xfffffffL), note the L at the end of the number. This same problem can occur when testing values with expect

Clone this wiki locally