24 February 2026 10:11:22 AM golden_section_test(): C version golden_section() seeks a minimizer of a function f(x) in the interval [a,b], assuming f(x) is unimodal over [a,b], f = humps_fun(x) f(0.3) = 96.5 f(0.9) = 21.7027 iteration limit n = 25 x_tol = 1e-06 Number of iterations: 26 f(0.637008) = 11.2528 f(0.637011) = 11.2528 f = test_fun(x) f(-2) = 31.136 f(1) = 9.41471 iteration limit n = 35 x_tol = 1e-06 Number of iterations: 31 f(-1.27418) = -10.0882 f(-1.27418) = -10.0882 golden_section_test(): Normal end of execution. 24 February 2026 10:11:22 AM