NBS Minimal BASIC Test Programs: Version 2, User's Manual, Issue 500, Part 1 - Issue 570, Part 1U.S. Department of Commerce, National Bureau of Standards, 1980 |
From inside the book
Results 1-5 of 9
Page 8
... allowed , but only for numeric data , not string . For control , there is a GOTO , an IF which can cause control to jump to any line in the program , a GOSUB and RETURN for internal subroutines , a FOR and NEXT statement to execute ...
... allowed , but only for numeric data , not string . For control , there is a GOTO , an IF which can cause control to jump to any line in the program , a GOSUB and RETURN for internal subroutines , a FOR and NEXT statement to execute ...
Page 31
... allowed by the standard . It is best explained by first considering accuracy for functions of a single variable , and then generalizing to operations , which may be thought of as functions of two variables . Given an internal precision ...
... allowed by the standard . It is best explained by first considering accuracy for functions of a single variable , and then generalizing to operations , which may be thought of as functions of two variables . Given an internal precision ...
Page 32
... allowed , given accuracy of d digits ) . Given this worst case , we would still want a value returned for which the actual argument was closer to that internal representation than to immediately adjacent representations . This means ...
... allowed , given accuracy of d digits ) . Given this worst case , we would still want a value returned for which the actual argument was closer to that internal representation than to immediately adjacent representations . This means ...
Page 33
... allowed by the standard to pass the tests ; all conforming implementations , then , are inherently capable of passing . Many users will wish to impose more stringent criteria . For example , those interested in high accuracy , or ...
... allowed by the standard to pass the tests ; all conforming implementations , then , are inherently capable of passing . Many users will wish to impose more stringent criteria . For example , those interested in high accuracy , or ...
Page 37
... allowed to re - enter the entire reply , otherwise the test fails . The rest of the program is self - checking . The program for string input comes next and , as with the numeric input program two considerations are paramount : 1 ) you ...
... allowed to re - enter the entire reply , otherwise the test fails . The rest of the program is self - checking . The program for string input comes next and , as with the numeric input program two considerations are paramount : 1 ) you ...
Common terms and phrases
72 characters 8.4 PROGRAM NUMBER algorithm allowed ANSI ANSI standard argument assignment BASIC Test Programs behavior Computer Science context Control Statements correctly DEF statement division by zero documentation endif error measure error programs ERROR REFS error tests EVALUATION OF NUMERIC Exception Handling EXCEPTION REFS exception report exception tests execution FOR-BLOCKS FOR-STATEMENT functional group GOSUB and RETURN GOTO Implementation Conformance implementation-defined features Informative Tests INPUT exception input-reply internal interpretation keyword language standard LINE-NUMBERS machine infinity Minimal BASIC Test non-fatal exceptions NUMERIC CONSTANTS NUMERIC EXPRESSIONS ON-GOTO operations OPTION BASE pass/fail message passes or fails PBASIC PRINT processor FAILS PROGRAM NUMBER EXCEPTION program output programming language programs test pseudorandom QUOTED STRINGS CONTAINING recovery procedure reply requirements RND FUNCTION rules Science and Technology self-checking semantic significand simple software testing source code specified Standard Capabilities standard program syntax test fails TEST PASSED test system UNDERFLOW USER-DEFINED FUNCTION Version ZERO