• Media type: E-Article
  • Title: Computation of the unit in the first place (ufp) and the unit in the last place (ulp) in precision-p base β
  • Contributor: Rump, Siegfried M. [VerfasserIn]
  • Corporation: Technische Universität Hamburg ; Technische Universität Hamburg, Institut für Zuverlässiges Rechnen
  • imprint: 2023
  • Published in: BIT ; 63(2023), 2 vom: 29. Apr., Artikel-ID 28, Seite 1-8
  • Language: English
  • DOI: 10.15480/882.5169; 10.1007/s10543-023-00970-2
  • ISSN: 1572-9125
  • Identifier:
  • Keywords: Base-β ; Floating-point arithmetic ; INTLAB ; Precision-p ; Predecessor ; Successor ; Unit in the first place ; Unit in the last place
  • Origination:
  • Footnote: Sonstige Körperschaft: Technische Universität Hamburg
    Sonstige Körperschaft: Technische Universität Hamburg, Institut für Zuverlässiges Rechnen
  • Description: There are simple algorithms to compute the predecessor, successor, unit in the first place, unit in the last place etc. in binary arithmetic. In this note equally simple algorithms for computing the unit in the first place and the unit in the last place in precision-p base- β arithmetic with p⩾ 1 and with β⩾ 2 are presented. The algorithms work in the underflow range, and numbers close to overflow are treated by scaling. The algorithms use only the basic operations with directed rounding. If the successor (or predecessor) of a floating-point number is available, an algorithm in rounding to nearest is presented as well.
  • Access State: Open Access
  • Rights information: Attribution (CC BY)