Where is Logarithm Function?

How to call logarithm function in FEZ Domino because it doen’t have this function in .NETMF


Unfortunately the Math class in .NET MF 4.1 is missisng logarithm functions. You need to write your own class and calculate the logarithms in managed code. There are already libraries like this available online:


If speed and accuracy is needed you can take some C implementation and call it thru RLP.

Here’s the math lib I use. It has a Log().


Log but no Ln method?

Log(x, E);

ahh yes that crazy E. Brings back bad memories of calculus. Natural log =ugh.

But this code is very useful for me to do Steinhart-Hart thermistor characterization.

Thanks all guy for these reply… it’s helpful for me very much…