Changes between Initial Version and Version 1 of Ticket #9129, comment 28
 Timestamp:
 01/31/14 06:08:15 (7 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #9129, comment 28
initial v1 26 26 2.sqrt() calls the sqrt() method of the Integer class. 27 27 sqrt() 28 eventually sage.functions.other._do_sqrt() is called. If _do_sqrt is passed a precision argument, everything works fine. The memory leak seems to occur when no precision is set. Something about the variable one_half seems to throw a kink in things.28 eventually sage.functions.other._do_sqrt() is called. If _do_sqrt is passed a precision argument, everything works fine. The memory leak seems to occur when no precision is set. Something about the variable one_half in _do_sqrt() seems to throw a kink in things. 29 29 30 30 Recap: If any precision is set, then there is no memory leak (2.sqrt(prec=52) == no memory leak)