nou

Kernel fail with other than en_US locale

Discussion created by nou on Jun 9, 2014
Latest reply on Sep 26, 2014 by nou

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.

Attachments

Outcomes