JOSS

Arithmetic and Function Evaluation Routines

by Irwin D. Greenwald

Download

Download eBook for Free

FormatFile SizeNotes
PDF file 1.1 MB

Use Adobe Acrobat Reader version 10 or higher for the best experience.

Purchase

Purchase Print Copy

 FormatList Price Price
Add to Cart Paperback53 pages $23.00 $18.40 20% Web Discount

A description of the programming of arithmetic and function evaluation routines for JOSS form a programmer's point of view. JOSS functions are divided into three groups: arithmetic operations (including exponential and square root), elementary transcendental functions, and number dissection functions. The four arithmetic operations (add, subtract, multiply, divide) and square root treat the operands as exact nine-digit numbers and produce true results rounded to nine digits. Descriptions of the arithmetic routines are presented in gross verbal flow-charts, amplified by commentaries. The discussion of the transcendental functions emphasizes the analysis done to achieve almost nine-significant-digit accuracy in the results and shows how special cases are handled to hit certain "magic" values on the nose. Program flows of the number dissection functions demonstrate how a sophisticated tool may be supplied to the user with trivial expenditure of programming effort.

Research conducted by

This report is part of the RAND Corporation Research memorandum series. The Research Memorandum was a product of the RAND Corporation from 1948 to 1973 that represented working papers meant to report current results of RAND research to appropriate audiences.

This document and trademark(s) contained herein are protected by law. This representation of RAND intellectual property is provided for noncommercial use only. Unauthorized posting of this publication online is prohibited; linking directly to this product page is encouraged. Permission is required from RAND to reproduce, or reuse in another form, any of its research documents for commercial purposes. For information on reprint and reuse permissions, please visit www.rand.org/pubs/permissions.

The RAND Corporation is a nonprofit institution that helps improve policy and decisionmaking through research and analysis. RAND's publications do not necessarily reflect the opinions of its research clients and sponsors.