rtypes for math functions