issue #26: numerical method boundaries swap + sign of the result