I also do agree with you that it should just work without the bigint() function in the expression.

Was just trying to point another gap ,, we have functions for integer(), number(), real() . we should have the same for bigint/ubigint types as well

cheers !