Fix bug 2763, precision problem in answer checking