help-gawk
[Top][All Lists]
Advanced

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

Re: Make division by zero legal


From: Peng Yu
Subject: Re: Make division by zero legal
Date: Mon, 2 Aug 2021 08:46:11 -0500

This has nothing to do with the ANSI standards. mawk does it correctly.

$ mawk -f <(echo 'BEGIN {print 1/0}')
inf

On Sun, Aug 1, 2021 at 11:06 PM Wolfgang Laun <wolfgang.laun@gmail.com> wrote:
>
>
>
> On Mon, 2 Aug 2021 at 00:28, Peng Yu <pengyu.ut@gmail.com> wrote:
>>
>> No. In R, it is perfectly legal.
>
>
> Then, by all means, do use R.
>
> Suggestions for changing the awk language are most certainly not a topic for 
> this gawk help list. The address you want is the body maintaining the awk 
> ANSI standard.
>
> -W
>


-- 
Regards,
Peng



reply via email to

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