forward-tanlog

Specification

?
\[\log \tan \left(\frac{\pi}{4} + 0.5 \cdot \phi\right) \]
(FPCore (phi)
  :precision binary64
  :pre TRUE
  (log (tan (+ (/ PI 4.0) (* 0.5 phi)))))
double code(double phi) {
	return log(tan(((((double) M_PI) / 4.0) + (0.5 * phi))));
}
public static double code(double phi) {
	return Math.log(Math.tan(((Math.PI / 4.0) + (0.5 * phi))));
}
def code(phi):
	return math.log(math.tan(((math.pi / 4.0) + (0.5 * phi))))
function code(phi)
	return log(tan(Float64(Float64(pi / 4.0) + Float64(0.5 * phi))))
end
function tmp = code(phi)
	tmp = log(tan(((pi / 4.0) + (0.5 * phi))));
end
code[phi_] := N[Log[N[Tan[N[(N[(Pi / 4.0), $MachinePrecision] + N[(0.5 * phi), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]], $MachinePrecision]
f(phi):
	phi in [-inf, +inf]
code: THEORY
BEGIN
f(phi: real): real =
	ln((tan((((4 * atan(1)) / (4)) + ((5e-1) * phi)))))
END code
\log \tan \left(\frac{\pi}{4} + 0.5 \cdot \phi\right)

Timeout after 2.5min

Use the --timeout flag to change the timeout.