RF: use wrappers for getting type information

Getting the min and max of the big float type goes bad on PPC; use our
own wrappers to avoid the problem.