It's not immutable. It provides an add_ui_gmp method that mutates the object. If it was actually immutable, there wouldn't be any trap because it wouldn't really matter if you cloned objects or not when using them in multiple places.
|Replies are listed 'Best First'.|
Re^8: How does Math::GMP overload the assignment operator ?
by syphilis (Archbishop) on Nov 10, 2020 at 00:36 UTC