skip to Main Content
author
195 views
0 votes

Php – How to get square root with decimal value of large integer?

My code for large integer sqrt
<?php

$y2 = gmp_init('28626386478758000000000000909090904'); // Example GMP number
$sqrt = gmp_sqrt($y2);
echo "Square

Back To Top
Search