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 root is: " . gmp_strval($sqrt) . "n"; // Output the square root ?> It gives result Square root is: 169193340527214604 But…