I am reading the paper, NIST SP800-22 Revision 1a, which is about Randomness Test suite.
This is the link where I found, and read.
I summarized my question at the end of post. And below description is how my deduction drawn. And also, I haven't found misprint about 2.5.8 Example yet.
2.5.4 Test Description
χ^2 is calculated as above equation.
2.5.8 Example
It is very nice of Example to show all variables. But, sadly, I cannot get χ^2 = 1.2619656 as expected. And I think this is misprint of this paper.
the reason why I think misprint
I got
χ^2 = 1.262580416458114
I double-checked whether my code is wrong with golang
new(big.Float).SetPrec(500)
I triple-checked with Wolfram Alpha which is online equation calculator as below captured image.
Question
Am I wrong?
If I wrong, what is the reason why I cannot get precise answer?
(I don't think this is precision problem of floating-point or just simple mistake)If this is misprint, how can I report this?
Or, 4 decimal places error,
1.262580416458114 - 1.2619656 = 0.000614...
, is within the margin of error in the system of Randomness-test?