Gudjon, IIRC the __fs floating point support routines are all reentrant these days. How did you declare the function?
Greets, Maarten > Hi > Can someone explain why I get the following error when trying to use the > __fsdiv function: > ?ASlink-Warning-Undefined Global '___fsdiv_PARM_2' referenced by module > The problematic code is the following: > c=__sint2fs((a<<8)+b); > __fsdiv(c,130.0) > > The __sint2fs function works and I can print out the floating point number > but > the division doesn't work. > > Thanks > Gudjon > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user