• DocumentCode
    3391116
  • Title

    An order preserving finite binary encoding of the rationals

  • Author

    Matula, David W. ; Kornerup, Peter

  • Author_Institution
    Southern Methodist University, USA
  • fYear
    1983
  • fDate
    20-22 June 1983
  • Firstpage
    201
  • Lastpage
    209
  • Abstract
    We describe a new binary encoding for numbers termed lexicographic continued fraction (LCF) representation that provides a one-to-one order preserving finite bit string representation for every rational. Conversion either way between binary integer numerator-denominator pair representation and LCF representation is shown feasible in time linear with bit string length, given registers of length sufficient to hold the numerator and denominator. LCF bit string length is about 2 max{log2p, log2q} for the irreducible fraction p/q. Realization of arithmetic (+, −, ×, ÷ on LCF bit string encoded operands is shown feasible. Some relations between the theory of best rational approximation and the values represented by truncated LCF bit strings are noted to assess the feasibility of a finite precision arithmetic based on LCF representation.
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Arithmetic (ARITH), 1983 IEEE 6th Symposium on
  • Conference_Location
    Aarhus, Denmark
  • Print_ISBN
    0-8186-0034-9
  • Type

    conf

  • DOI
    10.1109/ARITH.1983.6158088
  • Filename
    6158088