Thumbnail
Access Restriction
Subscribed

Author de Vogelaere, R.
Source ACM Digital Library
Content type Text
Publisher Association for Computing Machinery (ACM)
File Format PDF
Language English
Subject Keyword Quality output ♦ Input echo ♦ Input output ♦ Procedures relationship ♦ Fixed point representation ♦ Output channel interpretation ♦ Decompose real ♦ Input outpur array ♦ Floating point representation ♦ Integer format ♦ Equivalent algol statements ♦ Input output procedures ♦ Out integer ♦ Berkeley style ♦ Output documentation ♦ Read real ♦ Transput ♦ Real format ♦ Style ♦ Decompose integer ♦ Floating point representational ♦ Input output boolean ♦ Algol ♦ Algol 60
Abstract By means of the primitives insymbol, outsymbol and length, as requested by this journal's Algorithms Policy [Comm. ACM 10 (Nov. 67), 729] a basic set of input-output procedures is defined aiming at quality and flexibility. outreal, for instance, is written as a derived procedure; it outputs using the fixed point or the floating point representation, and rounds properly. Variants can easily be written because of the explicit call of the procedures decompose integer and decompose real. The highly recommended practice of echoing input is made easy with one subset of derived procedures (ioi, ior, iob, ioa). The documentation of output in the form of equivalent ALGOL statements is also provided when use is made of the subset oti, otr, otb, ota. The Berkeley style of providing information on the form of output using prior calls of procedures such as real format is defined. A use of the parameter out-channel to provide information for simultaneous output to several channels is suggested. Interrelationship between the declared procedures is furnished in tabular form.
Description Affiliation: Univ. of Calfornia, Berkeley (de Vogelaere, R.)
Age Range 18 to 22 years ♦ above 22 year
Educational Use Research
Education Level UG and PG
Learning Resource Type Article
Publisher Date 2005-08-01
Publisher Place New York
Journal Communications of the ACM (CACM)
Volume Number 11
Issue Number 8
Page Count 7
Starting Page 567
Ending Page 573


Open content in new tab

   Open content in new tab
Source: ACM Digital Library