It is instructive that the US, UK and USSR were able to agree, at the height of the Cold War (this was less than a year after the Cuban Missile Crisis), to ban atmospheric tests.
This is sort of what I'm getting at when I said people will have a hard time reading my post as being something other than pro-nuclear advocacy. justinatjustat is also providing a vivid demonstration. People simply can not help but collapse "It's not as dangerous as you think" to a claim that "It's not dangerous", no matter how obviously illogical that is once plainly stated. Even here on HN, talking about it rationally is a challenge. There's something deep, deep inside of us that is just utterly freaked out by radiation. I wonder if it's part of our disgust instinct (which is, evolutionarily, a relatively recent development and nearly isolated to humans, almost nothing else on Earth can be "disgusted" as we can).
My points are simply that: you cannot derive a conclusion about the danger of fallout from the large number of nuclear tests that have occured, since the majority of those tests were underground and many of those that weren't were of relatively modest yield; and that the real danger of fallout was significant enough to bring arch foes to the negotiating table during the height of the Cold War. I'm sure their respective nuclear scientists were well aware of the real dangers.
Needless to say, wartime use of nuclear weapons would not be underground.