BigInteger::isZero() question



I was wondering in which cases BigInteger::isZero() returns true. It says in the documentation “Returns true if no bits are set”. Does it mean it would return true if you define a BigInteger like this: (Defining a BitInteger 0)

Are there more cases where it might return true?



Yes, that’s zero, of course… Not sure I understand the confusion - if the BigInteger contains no bits, then it’s zero (?)


I thought that If I used for example:

BigInteger val; val.parseString("", 16);

it would handle different from:

Anyway, thanks Jules