NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
How Difficult is it to Add 1? A Pedagogical Example of How Theory of Computing May be UsefulWe show that while adding two generic b-bit integers requires = b bit operations, adding 1 to an integer requires, on average, only 2 bit operations. This fact explains why the operation of adding 1 is often separately hardware supported, and why this operation is often separately described in high-level programming languages like C++. This result shows that theoretical analysis can help in deciding which operations must be hardware supported, and thus, hopefully, will help in designing faster computers.
Document ID
20010000413
Acquisition Source
Headquarters
Document Type
Conference Paper
Authors
Hampton, Michael
(Texas Univ. El Paso, TX United States)
Date Acquired
August 20, 2013
Publication Date
February 1, 1997
Publication Information
Publication: NASA University Research Centers Technical Advances in Education, Aeronautics, Space, Autonomy, Earth and Environment
Volume: 1
Subject Category
Computer Programming And Software
Report/Patent Number
URC97054
Distribution Limits
Public
Copyright
Work of the US Gov. Public Use Permitted.
No Preview Available