[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: comma dot inconsistancy in gawk
From: |
Aharon Robbins |
Subject: |
Re: comma dot inconsistancy in gawk |
Date: |
Tue, 11 May 2004 17:21:48 -0700 |
Greetings. Re this:
> Date: Wed, 05 May 2004 10:29:01 +0200
> From: Heinrich Vollmers <address@hidden>
> To: address@hidden
> CC: Michael Klein <address@hidden>
> Subject: comma dot inconsistancy in gawk
>
> There seems to be some inconsistancy and error when applying gawk which
> did not appear in older versions (3.1.1):
>
> gawk -v dx=1.026 -v b=-3.29102e-05 'BEGIN{a=0.000602917;print
> b*dx+a,a,b,dx;}'
> -3,37659e-05 0 -3.29102e-05 1.026
>
> gawk --version
> GNU Awk 3.1.3
> System: Linux SUSE 9.0
>
> With kind regards
>
> Heinrich Vollmers
This is fixed in the forthcoming release. In the meantime, by running in
the C locale (export LC_ALL=C) and using periods for the decimal point, things
will work.
Thanks,
Arnold