That's really bizarrebrian@brian-work-laptop ~ $ cat float-issue.ck2.3 => float a;<<< a >>>;brian@brian-work-laptop ~ $ chuck float-issue.ck2.300000 :(float)I'm on Mint 15 andbrian@brian-work-laptop ~ $ chuck --versionchuck version: 1.3.3.0 (chimera)linux (alsa) : 64-bitOn Wed, Mar 26, 2014 at 8:41 AM, alfredo <freddi.blues@gmail.com> 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
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users