Fix arbitrary precision logical operations for GMP.
Fix arbitrary precision logical operations for GMP.

polyml/polyml,dcjm/polyml,polyml/polyml,dcjm/polyml,polyml/polyml,dcjm/polyml,polyml/polyml,dcjm/polyml