Carl R. Witty on Sun, 14 May 2000 13:25:31 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

bug in polsturm for linear polynomials

The documentation says that polsturm looks for roots in the half-open
interval ]a,b] .  However, for linear polynomials, it uses the closed
interval [a,b]:

(13:23) gp > polsturm(x, 0, 1)
%1 = 1

The above should return 0, not 1.

Carl Witty