2006-09-13 11:38 PM
Floating point emulation and stack
2006-09-13 11:38 PM
Hi @all!
In one of my posts before I told u about a problem with floats when returning back to a ISR. Assume that u have a function using float variables. From that function you call a second function also receiving and/or returning floating point variables. Because the emulation of both floats is running in the same memory the float variables get filled up with random values. I prevented this behaviour by inlining the functions manipulating float. Now i want to know if there is another way to solve this problem? (Expect inlining and working with fixed point aritmethic) greets, Erwin