arbitraty precision math working