Procedure from library gaussman.lib (see gaussman_lib).
gaussman.lib
bernstein(t); poly t
characteristic 0; local degree ordering; isolated critical point 0 of t
ideal r; roots of the Bernstein polynomial b excluding the root -1
the roots of b are negative rational numbers and -1 is a root of b
Example:
LIB "gaussman.lib"; ring R=0,(x,y),ds; poly t=x5+x2y2+y5; bernstein(t); → [1]: → _[1]=-1/2 → _[2]=-7/10 → _[3]=-9/10 → _[4]=-1 → _[5]=-11/10 → _[6]=-13/10 → [2]: → 2,1,1,2,1,1