The maths and physics are the same, the impact is not. It's about energy and how well you can shield against it. Shielding against visible light is simple, thin cardboard is probably enough, the aluminium frame of an aircraft is more than sufficient and the plastic or ceramic packaging of a microcontroller too. Shielding against gamma radiation is hard, you'll need something like a thick layer of lead, and even then every once in a while a photon might get through.
Edit: The incident that caused this grounding was a solar flare, so not just some visible light.