can't find error function (s/a "erf") in borland c++ libraries
hi, i need to use the error function (note i'm talking about the area under a gaussian curve, NOT any sort of error handling in the language), and i can't find it in the libraries that came with borland c++.
i've programmed in c on a unix platform, and there was an erf(x) function in there. i find it hard to believe that this common function wouldn't be included in the package. does anyone know where it is? if i have to get it elsewhere, does anyone know a good source?
Preprocessor directives may help!
I haven't heard of that function. What may help if if you used a series of #if directives, followed by an #error mesage, and an #endif. This will only work if you were talking about calling a function in the event of an error instead of making a compiler error. In that case, you could just do the math yourself and do if statements then call the function.