[chuck-users] Float assignment totally unexpected

alfredo freddi.blues at gmail.com
Wed Mar 26 09:41:40 EDT 2014


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20140326/f5a39432/attachment.htm>


More information about the chuck-users mailing list