delorie.com/archives/browse.cgi | search |
From: | Gunnar DOT Isaksson AT saab DOT se (Gunnar Isaksson) |
Subject: | Atan and tan bug |
22 Oct 1996 04:19:39 -0700 : | |
Sender: | daemon AT cygnus DOT com |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <326C9432.7E78.cygnus.gnu-win32@saab.se> |
Mime-Version: | 1.0 |
X-Mailer: | Mozilla 3.0Gold (X11; I; HP-UX A.09.05 9000/735) |
Original-To: | gnu-win32 AT cygnus DOT com |
Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
There is a bug for atan(x) and tan(x) in both the beta 14 and beta 16 releases of Cugnys GCC. They work OK for small arguments but for example atan(4) is in gross error. However the functions atanf(x) and tanf(x) works as good substitutes. We use #define tan tanf ..etc as a workaround in the file math.h Hope this will be corrected in the beta 17 release //Gunnar -- ============================================= Gunnar Isaksson Hamradio: SM5IUF Internet: Gunnar DOT Isaksson AT saab DOT se _____________________________________________ - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |