Using XML to Exchange Floating Point Data
[Technical Report, Technical Memo]
CARNEGIE-MELLON UNIV PITTSBURGH PA
Pagination or Media Count:
Consider a computation using floating point arithmetic to produce some result values. This computation executes in a single process or in multiple processes using a mechanism like RPC for interprocess communication. If the computation is decomposed and distributed over a set of processes that use an XML-based mechanism to exchange intermediate computation results as floating point values, then the results of the distributed computation will generally be different from those produced by executing the computation in a single process, unless care is taken to preserve precision in the XML literals exchanged.
- Numerical Mathematics
- Computer Programming and Software