Build fast math functions