29.9 Mathematical functions for floating-point types [c.math]
double legendre(unsigned l, double x);
float legendref(unsigned l, float x);
long double legendrel(unsigned l, long double x);
These functions compute the Legendre polynomials of their
l and x.
l is l and
x is x.
The effect of calling each of these functions
if l >= 128.