hmm. I thought if I declare something as volatile they will be stored in memory instead of registers.
On i386 FPU the double numbers in the register has a higher precision than the double numbers in memory and the compilier optimization is apparently causing me troubles: by adding a stdout.print on a double variable the result of the program changes. Are there any ohter helpful keywords then? Yu On Sun, 2009-01-11 at 18:12 -0800, Christian Hergert wrote: > Is that even be possible on 32bit? sizeof(gdouble) is 8. > > -- Christian > > On Sun, 2009-01-11 at 17:54 -0500, Yu Feng wrote: > > Hi all, > > > > How do I declare a volatile double variable? > > > > Yu > > > > _______________________________________________ > > Vala-list mailing list > > Vala-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/vala-list > _______________________________________________ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list