Bizarre g++ problem

Patrik Jonsson patrik at ucolick.org
Tue Oct 12 17:23:37 EST 1999


Hey everyone,
I'm having a very weird problem with my code:

cout << xs << '\n';  //(xs is an int class member)
double e2=xs;
cout << e2 << '\n';

produces:
 200
 -4.5036e+15

as output. What the @#$@# is going on?

	/Patrik


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list