bug-gawk
[Top][All Lists]
Advanced

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

[bug-gawk] Feature suggestion - function abs(X)


From: Peter Brooks
Subject: [bug-gawk] Feature suggestion - function abs(X)
Date: Sat, 29 Sep 2018 08:20:36 +0200

Please could I suggest the addition of the function abs(X) to gawk:

function abs(X)
        {
        if ( X < 0 ) X = -X;
        return X;
        }

It would be handy, I so often find I have to enter the above function by hand.


-- 
Peter Brooks


Mobile: +27 82 717 6404
Skype:  Fustbariclation
Twitter: Fustbariclation
Google+: Fustbariclation
Author Page: amazon.com/author/peter_brooks



reply via email to

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