Ok, float bug in hand, spurious code segment resolved, now I've got the
following issue. If I put the following function in my code, it'll perform
a bus error when trying to call this function:

float degtorad (float degrees) __attribute__ ((section ("calcs")));
float degtorad (float degrees)
{
  float t;
  
  t = pi/(float)180*degrees;
  return (t);
}

However, if I comment out the line that moves it to the calcs segment, it
works just fine. Is there something that's not allowing floating point ops
in anything but the main segment?



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to