From: RJ45 (rj45@slacknet.com)
Date: Mon Jun 02 2003 - 08:28:14 EDT
Hello,
executing this program
#include <stdio.h>
int main()
{
long double a=5.;
printf("%f\n",a);
return 0;
}
give me this result displayed:
-22460106216952786567864127138356509951539718539122031052349940640708602452840011050804429858031564021384137457959415021232112789762453733130675992745877176618023326204164567053160822901163337397913217320294643777142585778729419904656118079976251053116490976360808314768476380178723699029737203544953580421120.000000
while it should give 5.00000000000
there is something very weird here.
this happesn compiling with gcc-3.2.3 and gcc-3.2.2
anyone got this problem ?
it arises any time I use long double
thanks
Rick
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:30 EDT