www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/08/15:05:39

Date: Sun, 4 Oct 1998 12:52:15 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Bradley Walker <Brad DOT Walker AT Eng DOT Sun DOT COM>
cc: nate AT cartsys DOT com, djgpp AT delorie DOT com
Subject: Re: question about libm
In-Reply-To: <199810012318.QAA09752@boofoo.Eng>
Message-ID: <Pine.SUN.3.91.981004125007.1863Z-100000@is>
MIME-Version: 1.0

On Thu, 1 Oct 1998, Bradley Walker wrote:

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

There's no FPU instruction for `pow', so some of it must be in s/w.

In general, libm.a doesn't use FPU instructions at all, however.  It 
uses high-accuracy polynomial expansions.

- Raw text -


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