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
Results 1-5 of 100
Page 28
... values are fairly elaborate , and , moreover , are heavily implementation - dependent ; accordingly conscientious scrutiny is in order . There are two rules to keep mind . First , the expected output format depends on the value of the ...
... values are fairly elaborate , and , moreover , are heavily implementation - dependent ; accordingly conscientious scrutiny is in order . There are two rules to keep mind . First , the expected output format depends on the value of the ...
Page 30
... value between 333.3325 and 333.3335 , since six digits of accuracy implies an error less than 5 in the 7th place . By the same reasoning , " 333.334 " must evaluate between 333.3335 and 333.3345 . Since the allowable ranges do not ...
... value between 333.3325 and 333.3335 , since six digits of accuracy implies an error less than 5 in the 7th place . By the same reasoning , " 333.334 " must evaluate between 333.3335 and 333.3345 . Since the allowable ranges do not ...
Page 31
... value for f ( x ) ( hereinafter denoted by " cf ( x ) " ) be some value actually taken on by the function within the domain [ x - e , x + e ] , where e = 10 ^ ( int ( log10 ( abs ( x ) ) ) + 1 - d ) For example , suppose we want to test ...
... value for f ( x ) ( hereinafter denoted by " cf ( x ) " ) be some value actually taken on by the function within the domain [ x - e , x + e ] , where e = 10 ^ ( int ( log10 ( abs ( x ) ) ) + 1 - d ) For example , suppose we want to test ...
Page 32
... value taken on by sin ( x ) in the interval [ 29.1233 , 29.1235 ] . This then reduces to the test that .7507297957 < = csin ( 29.1234 ) < = -.7505976588 . internal - - The motivation for the formula for e is as follows . According to ...
... value taken on by sin ( x ) in the interval [ 29.1233 , 29.1235 ] . This then reduces to the test that .7507297957 < = csin ( 29.1234 ) < = -.7505976588 . internal - - The motivation for the formula for e is as follows . According to ...
Page 33
... value and true value to see if the accuracy is what they expect . 5.7 FOR NEXT an The ANSI standard provides a loop capability , along with associated control - variable , through the use of the FOR statement . The semantic requirements ...
... value and true value to see if the accuracy is what they expect . 5.7 FOR NEXT an The ANSI standard provides a loop capability , along with associated control - variable , through the use of the FOR statement . The semantic requirements ...
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