Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!psuvax1!psuvm!esoc!adartnel From: ADARTNEL@ESOC.BITNET Newsgroups: comp.lang.c Subject: Re: Execution time bottleneck: How Message-ID: <91053.093740ADARTNEL@ESOC.BITNET> Date: 24 Feb 91 10:11:17 GMT References: <233522@<1991Feb12> <20900015@inmet> <492@tin.crc.ac.uk> Lines: 5 Organisation: European Space Operation Centre (E.S.O.C) You may be able to replace the exp function with an approximation, exp(x) = ( ( ( (x/5+1) * x/4 + 1 ) * x/3 + 1 ) * x/2 + 1 ) * x + 1 but this depends on the accuracy you require and the range of values of x.