tfprng: expose range formula in form of macros to build custom range generators.