FP library in Cosmic 4k free compiler?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2004-09-27 4:14 AM
Posted on September 27, 2004 at 13:14
FP library in Cosmic 4k free compiler?
Labels:
- Labels:
-
Legacy Products
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2004-09-24 12:06 AM
Posted on September 24, 2004 at 09:06
Hi everybody,
I'm a beginner and I found this problem: I need some math routines (exp, log, sqrt...) in my C code but I can't use floating point library in my project; also if I try to use ''sprintf'' function, I can use only that one included in ''stdio'' lib (integer version) and not the FP version. I'm using ST7VD with Cosmic compiler. Could anyone help me? Thank you all Regards DreeOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2004-09-27 2:38 AM
Posted on September 27, 2004 at 11:38Hi, there's no limitation about floating point in the 4k version. What error do you get? Make sure you link the fp libraries, see the manual for the details. As a last comment, beware of the size of floating point routines; you might easily exceed the 4k limit. Regards, Luca
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2004-09-27 4:14 AM
Posted on September 27, 2004 at 13:14
Thanks a lot. I thought the linker was already set to link FP libraries, but it wasn't.
Thank you very much Luca Regards Dree