fix Issue 13662: @safe pure nothrow @nogc findRoot

Reason: allows findRoot be used in `@safe @nogc nothrow` code.
I have now Idea how to make overload =(

This unittest was written by me for regression control (allow different R and T types in the same time). I think nobody use this style.