Skip to main content

The Fundamental Operations

  • Chapter
Cryptography in C and C++
  • 1726 Accesses

Abstract

The fundamental building blocks of any software package for computer arithmetic are the functions that carry out the basic operations of addition, subtraction, multiplication, and division. The efficiency of the entire package hangs on the last two of these, and for that reason great care must be taken in the selection and implementation of the associated algorithms. Fortunately, volume 2 of Donald Knuth’s classic The Art of Computer Programming contains most of what we need for this portion of the FLINT/C functions.

Thus calculation can be seen as the basis and foundation of all the arts.

—Adam Ries, Book of Calculation

And you, poor creature, you are completely useless. Look at me. Everyone needs me.

—Aesop, “The Fir and the Blackberry Bush”

There is one small prerequisite for mastering the mathemagic tricks in this chapter—you need to know the multiplication tables through 10 â€Ĥ backward and forward.

—Arthur Benjamin, Michael B. Shermer, Mathemagics

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

Âİ 2013 Michael Welschenbach

About this chapter

Cite this chapter

Welschenbach, M. (2013). The Fundamental Operations. In: Cryptography in C and C++. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5099-9_4

Download citation

Publish with us

Policies and ethics