Skip to main content

Number Formats: The Representation of Large Numbers in C

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

Abstract

One of the first steps in creating a function library for calculating with large numbers is to determine how large numbers are to represented in the computer’s main memory. It is necessary to plan carefully, since decisions made at this point will be difficult to revise at a later time. Changes to the internal structure of a software library are always possible, but the user interface should be kept as stable as possible in the sense of “upward compatibility.”

So I have made up my own system for writing large numbers and I am going to use this chapter as a chance to explain it

—Isaac Asimov, Adding a Dimension

The process that has led to the higher organization of this form could also be imagined differently

—J. Weber, Form, Motion, Color

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 59.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). Number Formats: The Representation of Large Numbers in C. In: Cryptography in C and C++. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5099-9_2

Download citation

Publish with us

Policies and ethics