float bug on latest linux release?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

float bug on latest linux release?

Catarina Mota
Hi,

I'm not running linux, but several people at a workshop I'm attending noticed that the latest release is not accepting floats (we've been using fractions to get around it).

Cheers,
Catarina
Reply | Threaded
Open this post in threaded view
|

Re: float bug on latest linux release?

Clifford Wolf
Hi,

On Wed, Jan 27, 2010 at 02:23:48PM +0100, Catarina Mota wrote:
> I'm not running linux, but several people at a workshop I'm attending
> noticed that the latest release is not accepting floats (we've been
> using fractions to get around it).

thanks for reporting this problem back.

I think the problem is that a locale that is using a comma instead of a dot
as decimal character was set. the problem should go away when openscad is
run e.g. with 'export LC_ALL=C' set.

I've fixed that now in svn trunk. So the bug should be gone in the next
release..

yours,
 - clifford

--
"One of my most productive days was throwing away 1000 lines of code."
 - Ken Thompson

Reply | Threaded
Open this post in threaded view
|

Re: float bug on latest linux release?

Catarina Mota
Thanks Clifford!

Catarina

On Thu, Jan 28, 2010 at 8:51 PM, Clifford Wolf <[hidden email]> wrote:
Hi,

On Wed, Jan 27, 2010 at 02:23:48PM +0100, Catarina Mota wrote:
> I'm not running linux, but several people at a workshop I'm attending
> noticed that the latest release is not accepting floats (we've been
> using fractions to get around it).

thanks for reporting this problem back.

I think the problem is that a locale that is using a comma instead of a dot
as decimal character was set. the problem should go away when openscad is
run e.g. with 'export LC_ALL=C' set.

I've fixed that now in svn trunk. So the bug should be gone in the next
release..

yours,
 - clifford

--
"One of my most productive days was throwing away 1000 lines of code."
 - Ken Thompson
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad