f::lcm (public)
f::lcm x y
Defined in packages/acs-tcl/tcl/ad-functional-procs.tcl
- Parameters:
- x (required)
- y (required)
- Returns:
- the least common multiple of x and y
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- functional_api
Source code: if { $x==0 || $y == 0 } { return 0 } abs [expr {$x/[gcd $x $y]*$y}]XQL Not present: Generic, PostgreSQL, Oracle