bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] pi in gawk


From: arnold
Subject: Re: [bug-gawk] pi in gawk
Date: Wed, 15 Feb 2012 01:42:33 -0800

Hi.

        gawk 'BEGIN { printf ("%.17g\n", atan2(0, -1)) }'

should answer your question.

Thanks,

Arnold

> Date: Wed, 15 Feb 2012 10:20:13 +0100 (CET)
> From: address@hidden
> To: Gawk <address@hidden>
> Cc: Francky Leyn <address@hidden>
> Subject: [bug-gawk] pi in gawk
>
> Hello, 
>
> I need the contant pi in a gawk program. 
> Must I type it myself, or does there 
> exist some built-in constant for this? 
>
> Best regards, 
>
> Francky Leyn 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]