cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

nou
Exemplar

Kernel fail with other than en_US locale

I have raytracer which doesn't produce correct results when locale is set to sk_SK.UTF-8 which use colon as decimal point. I attached kernel which is affected. If I set LANG=C or en_US.UTF-8 it produce correct results.

If I replace all decimal numbers with fractions like 1.0/2.0 then it work correctly. So it is most likely bug in string->float conversion.

0 Likes
15 Replies