Are float support at all? --- dimmy <[email protected]> wrote: > floats are not supported in sprintf. > At least nobody contributed a reasonable code for it > :) > neither did I :) > > ~d > > P.S. float == double , both 32bits. > > > On Monday 28 October 2002 21:08, you wrote: > > Hi, > > > > Are decimal numbers support by the MSP GCC? > > Here is an example of my code. > > > > int DEBUG(void) > > { > > double i; > > i = 45.7; > > sprintf(debugBuff,"%g\r\n",i); > > return (0); > > } > > > > debugBuff = "45" > > > > I would very much like to see 45.7 in the > debugBuff:( > > > > I'm using MSP GCC for windows. > > > > __________________________________________________ > > Do you Yahoo!? > > Y! Web Hosting - Let the expert host your web site > > http://webhosting.yahoo.com/ > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Mspgcc-users mailing list > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > > -- > ********************************************************************* > ("`-''-/").___..--''"`-._ (\ Dimmy the > Wild UA1ACZ > `6_ 6 ) `-. ( ).`-.__.`) Enterprise > Information Sys > (_Y_.)' ._ ) `._ `. ``-..-' Nevsky > prospekt, 20 / 44 > _..`--'_..-_/ /--'_.' ,' Saint > Petersburg, Russia > (il),-'' (li),' ((!.-' +7 (812) > 314-8860, 5585314 > ********************************************************************* > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Mspgcc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mspgcc-users
__________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/
