f::mul (public)
f::mul n fraction
Defined in packages/acs-tcl/tcl/ad-functional-procs.tcl
Multiplies n with a fraction (given as a tuple)
- Parameters:
- n (required)
- fraction (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- functional_api
Source code: set num [fst $fraction] set denom [snd $fraction] set g [gcd $n $denom] expr {($n/$g)*$num/($denom/$g)}XQL Not present: Generic, PostgreSQL, Oracle