Earlier quoted context omitted.
You've just described the dual numbers, which provide a way of implementing forward-mode autodiff. > If the derivative is abnormal in a way such that the normal > truncated calculative formulas would conceal it, then AD > would fail to give an accurate result as well. What I'm seeing directly contradicts that. I've tested the example above (the one I called f(x,a) with a=1e-36, trying to find its derivative at x=0),…
> Autodiff using the dual numbers has pulled off the seemingly impossible. It's not seemingly impossible, if you understand that the chain rule for f' is just being executed at the same time as the calculation of f by having derivatives for basic operations already defined. However, like I said, if you have a calcuation method that hides derivatives in terms that have been truncated, then this will not save you. (-1)…
No. The example works because:
While the exact value of f(x,a) isn't 1, given any inexact representation of real numbers like floating point or fixed point, the value of "a" can be chosen so that f(x,a) has 1 as its closest representation.
Trying to compute f(x,a) differently isn't going to change that, so stencilling methods are never going to work here. But autodiff will always work. This means I win your challenge.Your other claims are probably gibberish. You need to provide an example.