Accession Number : AD0640266

Title :   JOSS: ARITHMETIC AND FUNCTION EVALUATION ROUTINES,

Corporate Author : RAND CORP SANTA MONICA CALIF

Personal Author(s) : Greenwald,I. D.

Report Date : SEP 1966

Pagination or Media Count : 48

Abstract : A description is given of the programming of arithmetic and function evaluation routines for JOSS from 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. (Author)

Descriptors :   (*COMPUTER PROGRAMMING, *FUNCTIONAL ANALYSIS), NUMERICAL ANALYSIS, TRANSCENDENTAL FUNCTIONS, COMPILERS

Subject Categories : Computer Programming and Software
      Computer Systems

Distribution Statement : APPROVED FOR PUBLIC RELEASE