Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by slacker@Apr 25 2006, 06:19 PM do you need something at a lower-level. still, or is this good enough? perhaps, some more digging on newlib implementation specifics would yield the information you desire..?? --- Quote End --- What I need to know is if I can use without any problems floating point library in a multitasking environment of the MicroC/OS-II operating system. I am using fp library in a limited way (log(), pow(), some of *, / + and -) and it looks to me like everything is fine until two tasks want to do same thing concurently. They all have their own data to work on separatelly, so it is no problem of sharing my program data, but it almosts looks like the math functions are not designed for the multitasking environment... I have found some worrying reference for the math emulation library for the Borland x86 compiler and I would like to know if something similar applies to the NiosII C/C++ compiler and if so, how to deal with it. http://www.micrium.com/downloads/appnotes/an1001.pdf (http://www.micrium.com/downloads/appnotes/an1001.pdf) Anybody has any experience with NiosII and multitasking of floating point emulation library ?