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 . - accuracy of d want a value The motivation for the formula for e is as follows ...
... 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 . - accuracy of d want a value The motivation for the formula for e is as follows ...
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
20 PRINT 40 PRINT SECTION ACCEPT THE PROGRAM ACCOMPANIED BY DOCUMENTATION ACCURACY ACTUAL ALLOWING ANSI STANDARD ARGUMENT ARRAY ASSIGNED BASIC TEST PROGRAMS CHARACTERS COLUMN COMPUTED CONSTANTS CONTAINING CONTROL DATA DIGITS DISPLAYED END 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 BEGIN TEST PRINT END PROGRAM PRINT END TEST PRINT PROGRAM FILE PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM NUMBER PROGRAM TESTS PROGRAMS USER'S MANUAL READ REFERENCE REFS REJECT THE PROGRAM REPORTED RESULT RETURN RND FUNCTION SECTION TESTS SPACE STATEMENT STEP STRING SUBSCRIPT SUPPLIED TERMINATE TEST FAILED TEST OK TEST PASSED TYPE UNDERFLOW VALUE VARIABLE ZERO