
18 Mar
2011
18 Mar
'11
6:24 p.m.
On 18/03/2011 18:23, Vicente Botet wrote:
One technique could be to make the transformation by hand and keep track of the input -> output association. Another technique consist in re-implementing the algorithm and check that both implementations match.
Checking that both implementations match is not really possible if the range of all inputs is big. What we do to validate the precision of our math functions in the NT2 project is that we perform random tests and compare the results to that obtained with a library that we know to be correct.