I've following formula in Wolfram:
log base 10 of (10^-18x)
WolframLink (with x example)
First of all Log Function:
function getLog(y) {
return Math.log(y)/Math.log(10);
}
Now I'm trying to get my value:
var x = Math.pow(10,33);
var faktor = getLog(Math.pow(10,-(18*x)));
console.log(faktor);
console gives -Infinity
What is wrong about my code? Thanks for help.