Source: http://mach.elec.free.fr/divers/poly_diodes.pdf