NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13U.S. Department of Commerce, National Bureau of Standards, 1980 |
From inside the book
Page 35
... RETURN but The Most of the tests in this group are self - explanatory , the one checking address stacking deserves some comment . standard describes the effect of issuing GOSUBS and RETURNS in terms of a stack of return addresses , for ...
... RETURN but The Most of the tests in this group are self - explanatory , the one checking address stacking deserves some comment . standard describes the effect of issuing GOSUBS and RETURNS in terms of a stack of return addresses , for ...
Page 42
... returned for large arguments requiring more than six digits of accuracy . 5.12.2 Approximated Functions : SQR , ATN , COS , EXP , LOG , SIN , TAN These functions do not typically return rational values for rational arguments and thus ...
... returned for large arguments requiring more than six digits of accuracy . 5.12.2 Approximated Functions : SQR , ATN , COS , EXP , LOG , SIN , TAN These functions do not typically return rational values for rational arguments and thus ...
Page 43
... return machine infinity , it is clear that overflow has occurred and if there were no exception report in such a the test fails . Also , as a measure of quality , the returned values with a given sign should increase in magnitude until ...
... return machine infinity , it is clear that overflow has occurred and if there were no exception report in such a the test fails . Also , as a measure of quality , the returned values with a given sign should increase in magnitude until ...
Page 44
... returned is outside the legal range , then the test fails . Of course , any implementation could pass simply by adjusting the RND algorithm or starting point until a passing sequence is generated . In order to measure the quality of ...
... returned is outside the legal range , then the test fails . Of course , any implementation could pass simply by adjusting the RND algorithm or starting point until a passing sequence is generated . In order to measure the quality of ...
Page 51
... RETURN 17 ( 10 ) 4.3 IF - THEN 18-21 ( 10 ) ... 22-23 ( 6 ) 5 Variables 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 .36-38 ( 7 ) ...
... RETURN 17 ( 10 ) 4.3 IF - THEN 18-21 ( 10 ) ... 22-23 ( 6 ) 5 Variables 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 .36-38 ( 7 ) ...
Other editions - View all
Common terms and phrases
15 PRINT 20 PRINT 40 PRINT SECTION ACCEPT THE PROGRAM ACCOMPANIED BY DOCUMENTATION ACCURATELY DESCRIBING ANSI STANDARD 7.2 APPROPRIATE ERROR MESSAGE ARGUMENT ASSIGNED BASIC TEST PROGRAMS COMPUTED DATA DESCRIBING THE FEATURE'S DETAILED CRITERIA DIM-STATEMENT DISPLAYED DIVISION BY ZERO END END TEST END PROGRAM FILE EXRAD FEATURE OF MINIMAL FEATURE'S INTERPRETATION FOR-STATEMENT GOSUB GOTO IDENTIFYING THE EXCEPTION implementation INFORMATIVE TEST PASSED INPUT INPUT-REPLY LINE NUMBER LINE-NUMBERS MACHINE INFINITY MESSAGE IDENTIFYING MINIMAL BASIC TEST NBS MINIMAL BASIC NON-STANDARD FEATURE NUMERIC EXPRESSIONS OK OK OK ON-GOTO OPTION BASE PASS THIS TEST PRINT 40 PRINT PRINT BEGIN TEST PRINT END PROGRAM PRINT END TEST PRINT FOR DETAILED PRINT PROGRAM FILE PRINT THIS PROGRAM PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM TESTS PROGRAMS USER'S MANUAL QUOTED STRINGS READ REFS REJECT THE PROGRAM REM SUBROUTINE RND FUNCTION SECTION TESTS SIGNIFICAND STATEMENT TEST IS INFORMATIVE TEST OK TEST PROGRAMS USER'S UNDERFLOW USER-DEFINED FUNCTION