In the logf patch, you define LOGF_POLY_ORDER to 4, but actually only have 3 terms in the polynomial. In the log2f patch, you define LOG2F_POLY_ORDER to 4, and actually have and use 4 terms. Why should log2f need a larger polynomial than logf? -- Joseph S. Myers joseph@codesourcery.com