Main Site Documentation

Where is Logarithm Function?


#1

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

Thanks…


#2

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:

http://informatix.miloush.net/microframework/Examples.aspx

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


#3

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

http://netmfx.codeplex.com/SourceControl/changeset/view/11623#112181


#4

Log but no Ln method?


#5
Log(x, E);

#6

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.


#7

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