toms441, a Fortran77 code which implements ACM toms algorithm 441, for returning random deviates from the dipole distribution.
The text of many ACM TOMS algorithms is available online through ACM: https://www.acm.org/pubs/calgo or NETLIB: https://www.netlib.org/toms/index.html.
The information on this web page is distributed under the MIT license.
toms441 is available in a Fortran77 version.
prob, a Fortran90 library which contains routines to sample the dipole distribution, or to evaluate the CDF or PDF.