Skip to main content

Arithmetic Operations

  • Chapter
COBOL From Pascal

Part of the book series: Macmillan Computer Science Series ((COMPSS))

  • 208 Accesses

Abstract

This chapter provides further treatment of the COMPUTE verb, and introduces fixed-point arithmetic and signed fields. Section 2 provides an introduction to facilities available for handling overflow and also offers a first look at the use of statement terminators in COBOL 85. The final section deals with the arithmetic verbs ADD, SUBTRACT, MULTIPLY and DIVIDE; this section may be omitted on a first reading, since use of the COMPUTE verb is adequate for all arithmetic operations and is simple to pick up for those with a grounding in Pascal and other high level languages.

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

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 29.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

Copyright information

© 1989 A.J. Tyrrell

About this chapter

Cite this chapter

Tyrrell, A.J. (1989). Arithmetic Operations. In: COBOL From Pascal. Macmillan Computer Science Series. Palgrave Macmillan, London. https://doi.org/10.1007/978-1-349-10594-6_3

Download citation

  • DOI: https://doi.org/10.1007/978-1-349-10594-6_3

  • Publisher Name: Palgrave Macmillan, London

  • Print ISBN: 978-0-333-48303-9

  • Online ISBN: 978-1-349-10594-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics