Programowanie w systemie UNIX/ARB: Różnice pomiędzy wersjami

Usunięta treść Dodana treść
m →‎arb_sqrt: format
Linia 114:
//
arb_sqrt(z,z,prec); // z = sqrt(z)
bits = arb_bits(z); // Returns the number of bits needed to represent the absolute value of the mantissa of the midpoint of x, i.e. the minimum precision sufficient to represent x exactly.
//
Linia 120:
prec += 1;
if (i>500) break;
dec_digits = (prec-3)/3.3219280948873623;
//
i+=1;
}
}
arb_clear(z);
flint_cleanup();