Blockland Forums > Modification Help
[CHALLENGE] Rosetta Code - "Tasks not implemented in torquescript"
Ipquarx:
--- Quote from: Treynolds416 on June 18, 2012, 07:51:32 AM ---Guys, the default mLog() is the natural log, not the base 10 log. You still have to do change of bases though.
--- End quote ---
function mLog10(%num)
{
return mLog(%num)/mLog(10);
}
Or even better:
function mLogN(%num, %base)
{
return mLog(%num)/mLog(%base);
}
Port:
--- Quote from: Ipquarx on June 18, 2012, 08:00:11 AM ---function mLog10(%num)
{
return mLog(%num)/mLog(10);
}
Or even better:
function mLogN(%num, %base)
{
return mLog(%num)/mLog(%base);
}
--- End quote ---
The "Real constants and functions" task is to demonstrate native language content, not user-made functions.
Ipquarx:
--- Quote from: Port on June 18, 2012, 08:31:07 AM ---The "Real constants and functions" task is to demonstrate native language content, not user-made functions.
--- End quote ---
Really? I thought it meant real numbers LOL.
Treynolds416:
Is someone adding these? I know I didn't add my code
elm:
--- Quote from: Treynolds416 on June 18, 2012, 09:14:55 AM ---Is someone adding these? I know I didn't add my code
--- End quote ---
I will, when I can.