Fundamentals of FORTRAN Programming |
From inside the book
Results 1-3 of 40
Page 59
... number of decimal positions is required . This information is coded after the field width and is separated from the field width by a decimal point . In the preceding example , the value for X has two places to the right of the decimal point ...
... number of decimal positions is required . This information is coded after the field width and is separated from the field width by a decimal point . In the preceding example , the value for X has two places to the right of the decimal point ...
Page 387
... number raised to the first power is just that number . For example , 61 is 6 , 101 is 10 , and 21 is 2. Finally , a ... decimal number , consider 4096 : 4096 = 4000 + 000 + 90 + 6 = ( 4 X 1000 ) + ( 0 x 100 ) + ( 9 × 10 ) + ( 6 × 1 ) ...
... number raised to the first power is just that number . For example , 61 is 6 , 101 is 10 , and 21 is 2. Finally , a ... decimal number , consider 4096 : 4096 = 4000 + 000 + 90 + 6 = ( 4 X 1000 ) + ( 0 x 100 ) + ( 9 × 10 ) + ( 6 × 1 ) ...
Page 397
... number the data can be used in arithmetic processing . An integer value can be either positive or negative . As a 32 ... decimal number +2,147,483,647 . The mini- mum negative number in two's complement form is ...
... number the data can be used in arithmetic processing . An integer value can be either positive or negative . As a 32 ... decimal number +2,147,483,647 . The mini- mum negative number in two's complement form is ...
Contents
COMPUTERS PROGRAMS AND DATA | 1 |
INTRODUCTION TO FORTRAN | 22 |
BASIC INPUT AND OUTPUT PROGRAMMING | 39 |
Copyright | |
15 other sections not shown
Common terms and phrases
algorithm arithmetic expression array element name array name assume binary number blank calling program causes the computer central processing unit Chapter character data columns computed GO computer's internal storage consider the following data to test decimal number decimal point digits DO-variable double precision dummy arguments END FIGURE end-of-file equal error example field flowchart following statements format codes FORMAT statement format-free FORTRAN 77 FORTRAN program GO TO 20 GO TO statement Hollerith constants identification number identified input and output input card input data integer logical expression logical IF statement machine language main program ment nested number of units number system output record problem processing program in Fig punched card READ statement read station relational expression result shown in Fig specified statement causes statement numbered storage location string subprogram subroutine subscript substring symbol terminal test scores test the program trailer card versions of FORTRAN Write a FORTRAN WRITE statement YES YES zero