Date: Thu, 1 Oct 1998 16:18:18 -0700 (PDT) From: Bradley Walker Message-Id: <199810012318.QAA09752@boofoo.Eng> To: nate AT cartsys DOT com Subject: Re: question about libm Cc: djgpp AT delorie DOT com X-Sun-Charset: US-ASCII > From: Nate Eldredge > To: Bradley Walker > CC: djgpp AT delorie DOT com > Subject: Re: question about libm > References: > > Bradley Walker wrote: > > > > When I use the libm.a that is included with djgcc, is this a software > > implementation of the the transcendental functions or is there any inlining > > to take advantage of a math coprocessor? > > No; libm is probably slower with respect to math functions; it doesn't > use the coprocessor as much as it might. It is, however, more compliant > to ANSI in such areas as setting `errno' on errors. But there are some > functions that only libm provides, like gamma. > -- > My application is an extremely heavy user of pow() and log(). What I'm interested is will the libm use a math coprocessor for these functions or will it run them in s/w.. Thanks. -brad w