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 30
... compute any reasonable internal accuracy . Since such an algorithm is highly sensitive to the peculiarities of the system's implementation of arithmetic , this last test is informative only . 5.6.2 Exceptions The standard specifies a ...
... compute any reasonable internal accuracy . Since such an algorithm is highly sensitive to the peculiarities of the system's implementation of arithmetic , this last test is informative only . 5.6.2 Exceptions The standard specifies a ...
Page 31
... computed 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 ...
... computed 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 ...
Page 32
... computed value of the function be true for some ( probably different ) argument within the set . For accuracy d , the maximum width of the set is of course e . It should be noted that the first allowed variation of e / 2 is inherent in ...
... computed value of the function be true for some ( probably different ) argument within the set . For accuracy d , the maximum width of the set is of course e . It should be noted that the first allowed variation of e / 2 is inherent in ...
Page 33
... computed 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 ...
... computed 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 ...
Page 42
... compute and report an error measure , which gives an estimate of the degree of accuracy achieved , again relative to a ... computed . Of course , the error measure itself is subject inaccuracy in its own internal computation , and no to ...
... compute and report an error measure , which gives an estimate of the degree of accuracy achieved , again relative to a ... computed . Of course , the error measure itself is subject inaccuracy in its own internal computation , and no to ...
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