Dear Tung, if you are converting integers to floats (no decimal fractions) and if you can use an arbitrary precision integer library to convert from arbitrary size decimal to binary and do the truncation in the binary domain, there is no need for interval arithmetic – as Xavier also pointed out. The method I outlined is intended for limited precision integer and limited precision float arithmetic, in which case you have to throw away decimal digits and handle imprecise representations of powers of 10. In this case using a an interval arithmetic library e.g. to represent the powers of 10 would be a good solution. Best regards, Michael Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Christian Lamprechter Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928