delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/01/19:34:15

Sender: nate AT cartsys DOT com
Message-ID: <36140848.7BE3F34A@cartsys.com>
Date: Thu, 01 Oct 1998 15:55:04 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486)
MIME-Version: 1.0
To: Bradley Walker <bwalker AT boofoo DOT Eng DOT Sun DOT COM>
CC: djgpp AT delorie DOT com
Subject: Re: question about libm
References: <ywjd67e5jmtq DOT fsf AT boofoo DOT Eng DOT Sun DOT COM>

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.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019