[PATCH] Remove slow paths from log

Joseph Myers joseph@codesourcery.com
Tue Feb 6 00:19:00 GMT 2018


On Fri, 2 Feb 2018, Wilco Dijkstra wrote:

> -#include <stap-probe.h>

Removing the probes for log should also mean removing their documentation 
in probes.texi.

> +  /* Here A contains the high part of the result, and B the low part.
> +     Maximum error is 6.095e-21 and min log (x) is 0.295 since x > 1.03.
> +     Therefore max ULP error of A + B is ~0.502.  */
> +  return A + B;

There seems to be a typo in this comment, 0.295 should be 0.0295 (but the 
ulp analysis is correct once that typo is fixed).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list