NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Results 6-10 of 75
Page 30
finally decided to require exact results only for integer arithmetic , and , in the case of non - integral operands , to apply an extremely loose criterion of accuracy such that if an implementation failed to meet it , one could ...
finally decided to require exact results only for integer arithmetic , and , in the case of non - integral operands , to apply an extremely loose criterion of accuracy such that if an implementation failed to meet it , one could ...
Page 31
5.6.4 Accuracy Tests - Informative - is O . Although the standard mandates no particular accuracy for expression evaluation , such accuracy is nonetheless an important measure of the quality of language implementation , and of interest ...
5.6.4 Accuracy Tests - Informative - is O . Although the standard mandates no particular accuracy for expression evaluation , such accuracy is nonetheless an important measure of the quality of language implementation , and of interest ...
Page 32
According to the rule for accuracy of numbers , the internal representation of the argument must lie within [ x e / 2 , X + e / 2 ) . Now suppose that the internal representation is near an end point of the legal interval , and that the ...
According to the rule for accuracy of numbers , the internal representation of the argument must lie within [ x e / 2 , X + e / 2 ) . Now suppose that the internal representation is near an end point of the legal interval , and that the ...
Page 33
Finally , we must recognize that even if the value of a function is computable to high accuracy ( as with COS ( 1 E - 22 ) ) , the graininess of the machine will again limit how accurately the result itself can be represented .
Finally , we must recognize that even if the value of a function is computable to high accuracy ( as with COS ( 1 E - 22 ) ) , the graininess of the machine will again limit how accurately the result itself can be represented .
Page 37
If the processor accepts the reply , the program then tests that six digits of accuracy have been preserved . If so , you will get a message that the test is OK , and may go on to the next reply . If not , you will get a message ...
If the processor accepts the reply , the program then tests that six digits of accuracy have been preserved . If so , you will get a message that the test is OK , and may go on to the next reply . If not , you will get a message ...
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 ОК ОК ОК