C arbitrary precision calculator