Efficient high-precision floating-point arithmetic