taking temperature

Is taking temperature under the arm just as accurate as rectal temperature?