series expansion of cos(log x) around 1