NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Results 6-10 of 86
Page 35
5.9.1 GOSUB And RETURN . . Most of the tests in this group are self - explanatory , but the one checking address stacking deserves some comment . The standard describes the effect of issuing GOSUBS and RETURNS in terms of a stack of ...
5.9.1 GOSUB And RETURN . . Most of the tests in this group are self - explanatory , but the one checking address stacking deserves some comment . The standard describes the effect of issuing GOSUBS and RETURNS in terms of a stack of ...
Page 42
The test for the INT function has a second section which does an informative test on the values returned for large ... not typically return rational values for rational arguments and thus may only be approximated by digital computers .
The test for the INT function has a second section which does an informative test on the values returned for large ... not typically return rational values for rational arguments and thus may only be approximated by digital computers .
Page 43
For instance , if several of the function calls return machine infinity , it is clear that overflow has occurred and if there were no exception report in such a case , the test fails . Also , as a measure of quality , the returned ...
For instance , if several of the function calls return machine infinity , it is clear that overflow has occurred and if there were no exception report in such a case , the test fails . Also , as a measure of quality , the returned ...
Page 44
If the results make it quite improbable that the distribution is uniform , or if any value returned is outside the legal range , then the test fails . Of course , any implementation could pass simply by adjusting the RND algorithm or ...
If the results make it quite improbable that the distribution is uniform , or if any value returned is outside the legal range , then the test fails . Of course , any implementation could pass simply by adjusting the RND algorithm or ...
Page 51
4.2 GOSUB and RETURN 17 ( 10 ) . . 4.3 IF - THEN 18-21 ( 10 ) 5 Variables .22-23 ( 6 ) 6 Numeric Constants , Variables , and Operations ..24-43 ( 5,6,7 ) 6.1 Standard Capabilities 24-27 ( 5,6,7 ) 6.2 Exceptions 28-35 ( 5,7 ) 6.3 Errors ...
4.2 GOSUB and RETURN 17 ( 10 ) . . 4.3 IF - THEN 18-21 ( 10 ) 5 Variables .22-23 ( 6 ) 6 Numeric Constants , Variables , and Operations ..24-43 ( 5,6,7 ) 6.1 Standard Capabilities 24-27 ( 5,6,7 ) 6.2 Exceptions 28-35 ( 5,7 ) 6.3 Errors ...
What people are saying - Write a review
We haven't found any reviews in the usual places.
Other editions - View all
Common terms and phrases
20 PRINT 40 PRINT SECTION ACCEPT THE PROGRAM ACCOMPANIED BY DOCUMENTATION ACCURACY ACTUAL ALLOWING ANSI STANDARD APPROPRIATE ERROR MESSAGE ARGUMENT ARRAY ASSIGNED BASIC TEST PROGRAMS BEGIN TEST CHARACTERS COLUMN COMPUTED CONSTANTS CONTAINING CONTROL DATA DIGITS DISPLAYED END PROGRAM FILE END TEST ENTER ERROR EVALUATION EXACT EXECUTION EXPECTED FOLLOWING FUNCTION GOSUB GOTO IDENTIFYING THE EXCEPTION implementation INFORMATIVE TEST INPUT INPUT-REPLY ITEM LINE LOOP MEASURE MESSAGE IDENTIFYING MINIMAL BASIC TEST NBS MINIMAL BASIC NEGATIVE NON-STANDARD FEATURE NOTE NUMERIC EXPRESSIONS OCCUR OK OK OK operations ORDER OUTPUT OVERFLOW PASS THIS TEST POSITIVE PRINT 40 PRINT PRINT END PROGRAM PRINT PROGRAM FILE PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM NUMBER PROGRAM TESTS READ REFERENCE REFS REJECT THE PROGRAM REPORTED RESULT RETURN RND FUNCTION SECTION TESTS SPACE STATEMENT STRING SUBSCRIPT SUPPLIED TERMINATE TEST FAILED TEST OK TEST PASSED TYPE UNDERFLOW VALUE VARIABLE ZERO ОК ОК ОК