Implementing Static Math Functions