  Let f be a real or complex polynomial. We give an algorithm to compute the
set of generalized critical values. The algorithm uses a finite dimensional
space of rational arcs along which we can reach all generalized critical values
of f.
