## Algorithm 885

swMATH ID: | 9118 |

Software Authors: | Linhart, J.M. |

Description: | Algorithm 885: Computing the logarithm of the normal distribution. We present and compare three C functions to compute the logarithm of the cumulative standard normal distribution. The first is a new algorithm derived from Algorithm 304’s calculation of the standard normal distribution via a series or continued fraction approximation, and it is good to the accuracy of the machine. The second is based on Algorithm 715’s calculation of the standard normal distribution via rational Chebyshev approximation. This is related to, and an improvement on, the algorithm for the logarithm of the normal distribution available in the software package R. The third is a new and simple algorithm that uses the compiler’s implementation of the error function, and complement of the error function, to compute the log of the normal distribution. |

Homepage: | http://dl.acm.org/citation.cfm?id=1391993 |

Related Software: | AS 241; NTL; Algorithm 304; DLMF; AS 66; SPECFUN; FGH; Algorithm 858; NSWC; Algorithm 877; REMES2; Algorithm 822; Algorithm 861; Algorithm 644; Algorithm 855; Algorithm 804; F1; NumSBT; Algorithm 682; Algorithm 814 |

Referenced in: | 7 Publications |

all
top 5

### Referenced by 15 Authors

### Referenced in 2 Serials

5 | Applied Mathematics and Computation |

1 | Journal of Mathematical Psychology |

all
top 5