std.math: update isIdentical and poly