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

Date: Sun, 4 Oct 1998 12:48:52 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Eric Rudd <rudd AT cyberoptics DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: question about libm
In-Reply-To: <3615143B.C9E4E93F@cyberoptics.com>
Message-ID: <Pine.SUN.3.91.981004124832.1863X-100000@is>
MIME-Version: 1.0

On Fri, 2 Oct 1998, Eric Rudd wrote:

> The current libc functions make full use of the coprocessor
> transcendental instructions, but some functions, notably asin() and
> most of the hyperbolics, have serious accuracy problems.  They will
> also bomb with a traceback for exceptional arguments, which ANSI
> does not allow.

The latter problem is corrected in v2.02, where exceptions are masked
by default in the startup code, so you will have a NaN instead of a
crash.  But libc functions are still not 100% ANSI, since they don't
set errno as required.

- Raw text -


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