This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libm use in kernel


On Wed, 10 Nov 2010, Michael Bergandi wrote:
I am wondering if someone could shed some light the possibility of
using libm from a driver in the kernel.

Hi Michael,


Read about eCos math lib re-entrancy here
http://ecos.sourceware.org/docs-latest/ref/math-library-compatibility-modes.html

[snip]

From math.h:
226
227 externC double
228 log( double );ÂÂÂÂÂÂÂÂÂÂÂÂ // natural logarithm
229

Also if your code uses log() functions only try http://www.google.com/search?q=fast+logarithm

HTH

Sergei
-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]