On Thursday, June 23, 2016 at 7:17:37 AM UTC+12, Ben Bacarisse wrote: > The limit of atan2(x, x) is as you describe, but there is no reason to > pick that one case. It’s what’s called a “non-removable discontinuity”. The value you pick at that point will be consistent with approaching it from one particular direction, not from any other.