fix Issue 13662: @safe pure nothrow @nogc findRoot

Reason: allows findRoot be used in `@safe @nogc nothrow` code.
I will try.