Infinity arithmetic, comparisons and J

  • Authors:
  • Harvey Davies

  • Affiliations:
  • CSIRO Division of Atmospheric Research, Private Bag No. 1, Mordialloc 3195, Australia

  • Venue:
  • APL '95 Proceedings of the international conference on Applied programming languages
  • Year:
  • 1995

Quantified Score

Hi-index 0.00

Visualization

Abstract

The principles of infinity arithmetic are explained. There is a need to bring J arithmetic and comparisons into line with these principles. Many of the results produced by J are mathematically anomalous and do not comply with the IEEE 754 Standard for floating-point arithmetic.Some proposals to generalise the concept of comparison tolerance are presented. There are also some tentative proposals regarding safety levels and precision.The paper is oriented towards J but many of the concepts are relevant to all dialects of APL.