Hi Javier, This question has been asked before. You may want to search the "Sdcc-user" list archive. One response is here:
http://sourceforge.net/mailarchive/message.php?msg_id=1450986 Jesús At 02:02 PM 9/19/2006, you wrote: >Hi, i'm new member subscribed to SDCC ml :-) > >Just want to know what do a need to use float vars/functions in SDCC, think >adding just #include <float.h> will solve it, i compiled a small project >using Keil uVision2 without problems, then try to change to SDCC and the >comping goes fine, but when it outputs float numbers i get <NO FLOAT> (using >printf_fast_f solved, but negative numbers are rounded :-/ instead of >-3,4567 i get -4 :-P) > >Maybe i must add some preprocessor options? ¿:-/ > >And a nice free IDE ofr use under windows will be welcome too, now using >JFE editor and own make makefile.bat script :-P > > >THX & BYE > >-- >http://perso.wanadoo.es/javierdlr >AOne/AOS4.0b/PPC7455-800/Radeon7000/256MB/HD40GB/DVD/DVD±RW :-P > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Sdcc-user mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/sdcc-user ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user
