adding new versions of pi() for integer and mixed-int-rng_t arguments