摘要:
网上找来的 mark之No need for anything fancy. Any platform with a good C99 math library (like the iphone) already has everything you need -- specifically theerfcfunction, which is a slight variant:#import double cumulativeNormal(double x){return0.5* erfc(-x * M_SQRT1_2);}Note this is for the standard norma 阅读全文