findRoot optimization

restore signbit check

findRoot style update

findRoot style update 2