Rain Man
In the 1988 movie "Rain Man", Raymond Babbitt, who has savant syndrome, can mentally calculate large numbers, amongst other abilities.