This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove slow paths from log


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]