Exit From A Function In Math