f::abs (public)

 f::abs x

Defined in packages/acs-tcl/tcl/ad-functional-procs.tcl

returns the absolute value of x

Parameters:
x

Partial Call Graph (max 5 caller/called nodes):
%3 f::gcd f::gcd (public) f::abs f::abs f::gcd->f::abs f::lcm f::lcm (public) f::lcm->f::abs

Testcases:
No testcase defined.
Source code:
    expr {$x<0 ? -$x : $x}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: