[API] more math functions