polynomial.cc: add missing implementation.