On exit: the final reference deviation, i.e., the maximum deviation of the computed polynomial evaluated at
from the reference values
, for
.
ref may return a negative value which indicates that the algorithm started to cycle due to round-off errors.