NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Results 1-5 of 100
Page 28
though the argument itself is less than one , its value becomes one after rounding . ... in The rules for printing numeric values are fairly elaborate , and , moreover , are heavily implementation - dependent ; accordingly conscientious ...
though the argument itself is less than one , its value becomes one after rounding . ... in The rules for printing numeric values are fairly elaborate , and , moreover , are heavily implementation - dependent ; accordingly conscientious ...
Page 30
This requirement is tested by assuring that values which differ by 1 in the 6th digit actually compare in the proper order ... For six digits of accuracy to be maintained , it must evaluate internally to some value between 333.3325 and ...
This requirement is tested by assuring that values which differ by 1 in the 6th digit actually compare in the proper order ... For six digits of accuracy to be maintained , it must evaluate internally to some value between 333.3325 and ...
Page 31
Accordingly , these tests apply a criterion of accuracy for the arithmetic operations which is suggested by the standard's requirement that individual numeric values be represented accurate to significant decimal digits .
Accordingly , these tests apply a criterion of accuracy for the arithmetic operations which is suggested by the standard's requirement that individual numeric values be represented accurate to significant decimal digits .
Page 32
and so we require that csin ( x ) equal some 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 ...
and so we require that csin ( x ) equal some 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 ...
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 .
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 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