julia
a909276f - RFC: fix Base.GMP.MPZ.export! on uninitialized vectors (#57787)

Commit
228 days ago
RFC: fix Base.GMP.MPZ.export! on uninitialized vectors (#57787) fixing Base.GMP.MPZ.export! not initializing memory when resizing vector fixing Base.GMP.MPZ.export! not initializing memory, nonzero vectors are only partially overwritten by :__gmpz_export, leading to unexpected results fixing Base.GMP.MPZ.export! not initializing memory when `n` is zero. if `n` is zero :__gmpz_export does not touch target vector adding test cases for fixed issues --------- Co-authored-by: Rafael Fourquet <fourquet.rafael@gmail.com>
Author
Parents
Loading