Exploring math in C programming