Newsgroups: comp.sys.atari.st
Path: utzoo!utgpu!watserv1!watmath!ljdickey
From: ljdickey@watmath.waterloo.edu (L.J.Dickey)
Subject: atan2() in gawk - bug warning
Reply-To: NTOMCZAK%UALTAVM.bitnet@ugw.utcs.utoronto.ca
Organization: University of Waterloo
Date: Fri, 11 Jan 91 04:31:24 GMT
Message-ID: <1991Jan11.043124.27653@watmath.waterloo.edu>
Lines: 24

[ This message is from and on behalf of Michal Jaegermann.
Please respond to him at your appropriate variant of
one of these addresses:
 	NTOMCZAK at UALTAVM
 	NTOMCZAK%UALTAVM.bitnet@ugw.utcs.utoronto.ca
ljdickey ]

Only after gawk2.11 was posted in comp.sys.atari.binaries I become
aware of a bug in PML floating point library used on ST by gcc
compiler.  This causes that gawk built-in atan2() is incorrect.  Its
arguments are switched and sometimes it complains about precision loss
when there is none.  As long as you know that this is more bother than
a problem.  If it is really troublesome for you then you will have to
recompile with corrected libraries, I guess.  I do not plan to post
new executables before next version of gawk will appear.

BTW - this bug in PML is already fixed and Jwahar Bammi has new
sources.  Unfortunately it will take some time before changes will
percolate everywhere.  Since nobody reported it for a looong time I
guess that this is not a show stopper.  :-)

   Michal Jaegermann
   ntomczak@ualtavm.bitnet

