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: Nethox
Subject: Re: Make division by zero legal
Date: Mon, 2 Aug 2021 16:12:08 +0200

On Sun, Aug 1, 2021 at 7:24 PM Peng Yu <pengyu.ut@gmail.com> wrote:
> [...]
> In the meantime, what is the best walkaround to get awk conformed to
> the IEEE standard?

$ gawk -V | head -1
GNU Awk 5.1.0, API: 3.0 (GNU MPFR 4.0.2, GNU MP 6.1.2)

$ gawk -M 'BEGIN { print 1/0; print "workaround" }'
+inf
workaround



reply via email to

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