NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Results 6-10 of 100
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
as Underflow , whether for expressions or constants , is only recommended an exception , but , in any case , zero must be supplied when the magnitude of the result is below the minimum representable by the implementation .
as Underflow , whether for expressions or constants , is only recommended an exception , but , in any case , zero must be supplied when the magnitude of the result is below the minimum representable by the implementation .
Page 33
Finally , we must recognize that even if the value of a function is computable to high accuracy ( as with cos ( 1E - 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 ( 1E - 22 ) ) , the graininess of the machine will again limit how accurately the result itself can be represented .
Page 39
The result is that the conditions for an input exception may depend on implementation - defined features , and thus a given input - reply may cause an exception for one processor and yet not another . Note that the same situation ...
The result is that the conditions for an input exception may depend on implementation - defined features , and thus a given input - reply may cause an exception for one processor and yet not another . Note that the same situation ...
Page 40
If the documentation for the processor describes an enhancement which agrees with the actual result , then that case passes ; otherwise it is a failure . Suppose the implementation reports an exception , but does not allow you to re ...
If the documentation for the processor describes an enhancement which agrees with the actual result , then that case passes ; otherwise it is a failure . Suppose the implementation reports an exception , but does not allow you to re ...
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 ARGUMENT ARRAY ASSIGNED BASIC TEST PROGRAMS BEGIN TEST CHARACTERS COLUMN COMPUTED CONSTANTS CONTAINING CONTROL DATA DIGITS DISPLAYED END PROGRAM FILE END TEST 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 PASSES TEST PASSES 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 STEP STRING SUBSCRIPT SUPPLIED TERMINATE TEST FAILED TEST OK TEST PASSES TEST TYPE UNDERFLOW VALUE VARIABLE ZERO ОК ОК ОК