Taming the wrapping of integer arithmetic

被引:0
|
作者
Simon, Axel [1 ]
King, Andy [1 ]
机构
[1] Univ Kent, Comp Lab, Canterbury, Kent, England
来源
STATIC ANALYSIS, PROCEEDINGS | 2007年 / 4634卷
基金
英国工程与自然科学研究理事会;
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Variables in programs are usually confined to a fixed number of bits and results that require more bits are truncated. Due to the use of 32-bit and 64-bit variables, inadvertent overflows are rare. However, a sound static analysis must reason about overflowing calculations and conversions between unsigned and signed integers; the latter remaining a common source of subtle programming errors. Rather than polluting an analysis with the low-level details of modelling two's complement wrapping behaviour, this paper presents a computationally light-weight solution based on polyhedral analysis which eliminates the need to check for wrapping when evaluating most (particularly linear) assignments.
引用
收藏
页码:121 / +
页数:2
相关论文
共 50 条
  • [41] Distributed high performance large integer arithmetic
    Lundberg, L
    2002 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, PROCEEDINGS OF THE WORKSHOPS, 2002, : 262 - 269
  • [42] Is Integer Arithmetic Enough for Deep Learning Training?
    Ghaffari, Alireza
    Tahaei, Marzieh S.
    Tayaranian, Mohammadreza
    Asgharian, Masoud
    Nia, Vahid Partovi
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [43] Ario: A linear integer arithmetic logic solver
    Sheini, Hossein M.
    Sakallah, Karem A.
    PROCEEDINGS OF FORMAL METHODS IN COMPUTER AIDED DESIGN, 2006, : 47 - +
  • [44] INTEGER POINTS, TORSION POINTS AND ARITHMETIC AMPLITUDE
    ULLMO, E
    AMERICAN JOURNAL OF MATHEMATICS, 1995, 117 (04) : 1039 - 1055
  • [45] Upper Bounds on the Automata Size for Integer and Mixed Real and Integer Linear Arithmetic
    Eisinger, Jochen
    COMPUTER SCIENCE LOGIC, PROCEEDINGS, 2008, 5213 : 431 - 445
  • [46] A POSITIVE-INTEGER ARITHMETIC FOR DATA PROCESSING
    MURPHY, RW
    IBM JOURNAL OF RESEARCH AND DEVELOPMENT, 1957, 1 (02) : 158 - 170
  • [47] Verification of integer multipliers on the arithmetic bit level
    Stoffel, D
    Kunz, W
    ICCAD 2001: IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER AIDED DESIGN, DIGEST OF TECHNICAL PAPERS, 2001, : 183 - 189
  • [48] On Certain Axiomatizations of Arithmetic of Natural and Integer Numbers
    Wybraniec-Skardowska, Urszula
    AXIOMS, 2019, 8 (03)
  • [49] INTEGER ARITHMETIC DETERMINATION OF POLYNOMIAL REAL ROOTS
    REITWIES.GW
    JOURNAL OF RESEARCH OF THE NATIONAL BUREAU OF STANDARDS SECTION B-MATHEMATICAL SCIENCES, 1974, B 78 (01): : 39 - 43
  • [50] AudioPaK - An integer arithmetic lossless audio codec
    Hans, M
    Schafer, R
    DCC '98 - DATA COMPRESSION CONFERENCE, 1998, : 550 - 550