Python speed vs csharp
bokr at oz.net
Sat Aug 2 06:31:15 CEST 2003
On 1 Aug 2003 19:08:54 -0700, sjmachin at lexicon.net (John Machin) wrote:
>bokr at oz.net (Bengt Richter) wrote in message news:<bgds3g$f95$0 at 220.127.116.11>...
>> erfcx = ( (a1 + (a2 + (a3 +
>> (a4 + a5*t)*t)*t)*t)*t ) * exp(-pow(x,2.0));
>Wouldn't (x*x) be better than pow(x,2.0) ?
Yup, I would think so too, but I wasn't thinking about optimizing the C ;-) I just
copied the C# from Mike's post and made it legal C ;-)
More information about the Python-list