bug in OpenCL parser depend on locale $LANG

Discussion created by nou on Jan 8, 2012
Latest reply on Jun 27, 2012 by nou

i spend quite some time to debug this bug. parser in OpenCL take only whole part of the decimal number.

so when i wrote 1.23f it will parse as 1.

i must change my locale to en_US.UTF-8 so it parse corectly into 1.23. it seems that parser translate decimal points depending on seted locale and in locale where is decimal separator used comma it fails.