Using XML to Exchange Floating Point Data

Abstract

This short paper explains some issues that arise when XML is used to exchange floating point values, how to address those issues, and the limits of technology to enforce a correct implementation. We begin by specifying the problem to be solved and the correctness conditions of a solution. We then provide brief background on the relevant aspects of XML and floating point data arithmetic. We conclude by describing how to solve the problem using the features of several programming languages.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Feb 10, 2022
Accession Number
AD1168473

Entities

People

  • John Klein

Organizations

  • Carnegie Mellon University

Tags

DTIC Thesaurus Topics

  • Arithmetic
  • C Programming Language
  • Coding
  • Computations
  • Computer Programming
  • Computers
  • Conversion
  • Decoding
  • Engineering
  • Floating Point Operations
  • Guarantees
  • Information Systems
  • Java Programming Language
  • Language
  • Programming Languages
  • Software Development
  • Standards

Fields of Study

  • Computer science

Readers

  • Computational Modeling and Simulation
  • Computer Engineering
  • Operations Research