delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/15/06:14:52

Date: Sun, 15 Nov 1998 13:06:26 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Anton Helm <tony AT nt DOT tuwien DOT ac DOT at>
cc: djgpp AT delorie DOT com
Subject: Re: high precision nonlinear math functions ?
In-Reply-To: <4.1.19981112171650.00a26d70@hal.nt.tuwien.ac.at>
Message-ID: <Pine.SUN.3.91.981115130608.1381G-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Thu, 12 Nov 1998, Anton Helm wrote:

> I've some problems with numerical precision 
> of some math functions.
> 
> Is there any math lib available that can do these
> computations in long double ?

``Long double'' and ``fast'' don't live together well enough ;-).

The new libm from the beta release of v2.02 should be more accurate,
so you might give it a try.

But Eric's advice about rearranging your code to be more
accuracy-aware is IMHO the way to go, even if you use the best library
on Earth.

- Raw text -


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