Skip to main content

The Fundamental Operations

  • Chapter
Cryptography in C and C++
  • 486 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

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

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.

Authors

Rights and permissions

Reprints and permissions

Copyright information

Âİ 2001 Michael Welschenbach

About this chapter

Cite this chapter

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

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-1157-0_4

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-893115-95-8

  • Online ISBN: 978-1-4302-1157-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics