TOMS441 is a FORTRAN77 program, using single precision arithmetic, which implements ACM TOMS algorithm 441, for returning random deviates from the dipole distribution.
While the text of many ACM TOMS algorithms is available online through ACM: http://www.acm.org/pubs/calgo or NETLIB: http://www.netlib.org/toms/index.html, most of the early algorithms are not available. This is one of them. I typed it in.
PROB is a FORTRAN90 library which contains routines to sample the dipole distribution, or to evaluate the CDF or PDF.
You can go up one level to the FORTRAN77 source codes.