v1.7: Supports some math functions