f32_normal_cdf

Function f32_normal_cdf 

Source
pub fn f32_normal_cdf(argument: f32) -> f32
Expand description

Calculate the normal cdf of the given number

The approximation is accurate to 3 digits

Code lovingly adapted from the excellent work at:

https://www.hrpub.org/download/20140305/MS7-13401470.pdf

The algorithm is based on the implementation in the paper above.