i am converting python code to js but cannot resolve this one x = int(num ** 0.5) (num is big integer)
how to calculate this in javascript BigInt ?
thanks i solved it
var num = BigInt("14564566644656456665555555555555555555555555545654645"); //example
num = BigInt(Math.round(parseInt(num.toString()) ** 0.5 )); // result is exact same as python tested more