That will still make Gaussian quadrature converge slowly until you have a large number of quadrature points, similar to the behavior described here with a near pole: (Insanely-) Higher Order Derivatives - #17 by stevengj
That will still make Gaussian quadrature converge slowly until you have a large number of quadrature points, similar to the behavior described here with a near pole: (Insanely-) Higher Order Derivatives - #17 by stevengj