bug-gawk
[Top][All Lists]
Advanced

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

How to get Inf in awk?


From: Peng Yu
Subject: How to get Inf in awk?
Date: Mon, 4 May 2020 18:02:38 -0500

I am trying to use Inf in awk. But the follow code does not work. Does
anybody know what is the correct way to use Inf in awk?

$ awk -e 'BEGIN { print +inf-1 }'
-1

-- 
Regards,
Peng



reply via email to

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