The previous blog entry reminded me that a couple of weeks ago I had a mysterious crash that really was a compiler bug.

The PC build was crashing in an innocuous piece of code, and I immediately felt the clammy dread of an untraceable memory trampling bug hunt. But it turns out it was this:

With Visual Studio 2013, targeting x64, tan() of a large float value triggers an exception.