YoushouldhavereceivedcopiesoftheGNUGeneralPublicLicenseandthe GNULesserGeneralPublicLicensealongwiththeGNUMPLibrary.Ifnot,
see https://www.gnu.org/licenses/. */
#include <stdio.h> /* for NULL */ #include"gmp-impl.h"
/* As usual the aim is to produce PREC(r) limbs of result with the high limb non-zero.Thathighlimbwillendupfloor(sqrt(u)),andlimbsbeloware producedbypaddingtheinputwithzeros,twoforeachdesiredresult limb,being2*(prec-1)foratotal2*prec-1limbspassedtompn_sqrtrem. Thewaympn_sqrtremcalculatesfloor(sqrt(x))ensurestherootiscorrect totheintendedaccuracy,ie.truncatedtopreclimbs.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.