QUAD: fixed accuracy of QmatTest

(failed for some compilers...)