Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Float to int

Float to int

2004-08-19 by Fuentes Rodriguez, M.E.

hello,

using the Keil (uVision3) compiler to perform this simple task:

float a;
int b;

b++;
a = b;

I get the following error after compilation: "Error: undefined reference to '__floatsisf'"

Any clue why is that?

thanks in advance,

MAURO

RE: [lpc2000] Float to int

2004-08-19 by Joe Hlebasko

My guess is the '__floatsisf' is a library routine converts float to int.
Make sure you are linking in the floating point libraries.

Joe 
Show quoted textHide quoted text
> -----Original Message-----
> From: Fuentes Rodriguez, M.E. [mailto:mef6@...] 
> Sent: Thursday, August 19, 2004 3:18 PM
> To: lpc2000@yahoogroups.com
> Subject: [lpc2000] Float to int
> 
> 
> hello,
> 
> using the Keil (uVision3) compiler to perform this simple task:
> 
> float a;
> int b;
> 
> b++;
> a = b;
> 
> I get the following error after compilation: "Error: 
> undefined reference to '__floatsisf'"
> 
> Any clue why is that?
> 
> thanks in advance,
> 
> MAURO
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~-->
> $9.95 domain names from Yahoo!. Register anything.
> http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/dN_tlB/TM
> --------------------------------------------------------------
> ------~-> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
>

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.