function procedure
A computing term for a procedure that returns a value; used in programming contexts.
In this program, a function procedure is used to return the calculation result.
Compound of 関数 (function) and 手続き (procedure), a direct calque from English 'function procedure' used in computing.