That's really bizarre brian@brian-work-laptop ~ $ cat float-issue.ck 2.3 => float a; <<< a >>>; brian@brian-work-laptop ~ $ chuck float-issue.ck 2.300000 :(float)
I'm on Mint 15 and brian@brian-work-laptop ~ $ chuck --version chuck version: 1.3.3.0 (chimera) linux (alsa) : 64-bit On Wed, Mar 26, 2014 at 8:41 AM, alfredo <[email protected]> wrote: > Hello everybody! > > I'm running miniaudicle for ubuntu 13.10. > > everything compiles and even sound works. > > i'm just facing an unexpected behaviors with floats. > > <<< 12.2 >>> prints 12.000000 : (float) > <<< 1.2 * 2.2 >>> prints 2.00000 : (float) > > 2.3 => float a; > <<< a >>> prints 2.000000 : (float) > > i really want to solve this out as soon as possible. > > any advices? is a gcc/g++ issue? is chuck language issue? > > > > _______________________________________________ > chuck-users mailing list > [email protected] > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users > >
_______________________________________________ chuck-users mailing list [email protected] https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
