File tree Expand file tree Collapse file tree
lib/node_modules/@stdlib/math/base/special/erfcinvf Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ var licenseHeader = require( '@stdlib/_tools/licenses/header' );
3434var compile = require ( '@stdlib/math/base/tools/evalrational-compile' ) ;
3535var compileC = require ( '@stdlib/math/base/tools/evalrational-compile-c' ) ;
3636
37+
3738// VARIABLES //
3839
3940// Polynomial coefficients ordered in ascending degree...
@@ -88,7 +89,7 @@ var Q2 = [
8889 1.7211477
8990] ;
9091
91- // Coefficients for erfcinvf for sqrt( -log(1-x) );
92+ // Coefficients for erfinv for sqrt( -log(1-x) );
9293var P3 = [
9394 - 0.1311028 ,
9495 - 0.163794 ,
Original file line number Diff line number Diff line change @@ -24,9 +24,8 @@ using SpecialFunctions
2424function gen (x, filepath)
2525 y = Array {Float32} (undef, length (x))
2626 for i in eachindex (x)
27- # Use erfcinv (float64) and convert to Float32
28- y[i] = Float32 (SpecialFunctions. erfcinv (Float64 (x[i])))
29- end
27+ y[i] = Float32 (SpecialFunctions. erfcinv (Float64 (x[i])))
28+ end
3029
3130 data = Dict ([
3231 (" x" , x),
You can’t perform that action at this time.
0 commit comments