Let D be the point on the side BC such that ∠DAC=90∘. Let us denote φ=∠CDA and x=∣CD∣. Then cos∠ACB=sinφ.

Then we have ∣AC∣=xsinφ and ∣BD∣=∣AD∣=xcosφ. We also have ∠BAD=2φ and ∣AB∣=2xcosφcos2φ.
Since ∣BC∣+∣AC∣=2∣AB∣, we get
1+cosφ+sinφ=4cosφcos2φ.
By squaring both sides of the equation we get
1+cos2φ+sin2φ+2cosφ+2sinφ+2sinφcosφ=16cos2φcos22φ,
and further on
2(1+cosφ)(1+sinφ)1+sinφ(4sinφ−3)(sinφ+1)sinφ=8cos2φ(1+cosφ),=4(1−sin2φ),=0,=43,
where we used cosφ=−1 and sinφ=−1, which is valid because the angle φ is acute.
Hence, cos∠ACB=43.