Fix table tests and improve table construction
Since compilers are allowed to use different FMA constructs, we
now allow the consistency check to deviate a few ulps.
For sinc and other extreme functions that oscillate, the
scan over the definition range to locate the minimum quotient
between the 1st and 4th derivative to set the table spacing
exposes some delicate errors. Basically, it is not possible
to have arbitrarily low relative errors for the derivative
for a function that has large magnitude in the same place.
For now we reduce the test interval for sinc(); this should
anyway not be relevant for normal well-behaved MD functional
forms.
Fixes #2336.
Change-Id: I5f999ae871ae21ddc5b59cf78ad8bd27fe2df622