
While this doesn't directly answer your question, you might find the following interesting. Steven Dutch, a professor at the University of Wisconsin at Green Bay has estimated what would happen if the sun were to go supernova. Some highlights: the radiation flux on the daylight side of the earth would be the same as if our entire nuclear arsenal were to go off once per second at a distance of one kilometer. The reflected light from the full moon would be 10,000 times brighter than the sun; Venus would shine six times as intensely as the normal sun. The earth vaporize in a matter of days.
By the way, the sun will never become a supernova. The calculations are illustrative only.
This process can check if this value is zero, and if it is, it does something child-like. -- Forbes Burkowski, CS 454, University of Washington