Subject: Re: PERL and NetBSD 1.3_ALPHA
To: John F. Woods <jfw@jfwhome.funhouse.com>
From: [This is my bacque pas, this is my faux pas] <greywolf@starwolf.starwolf.com>
List: current-users
Date: 11/11/1997 18:53:13
But since it's been fixed and is now quick as well, why "fix" it in such
a horrific manner?
"John F. Woods" sez:
/*
* I would argue that better code would be
*
* if (hx == 0x3ff00000 && lx == 0) return atan(y); /* x=1.0 */
*
* Yes, this will be just a bit slower on machines which punish branching. But
* it would never have gotten broken and (quickly) returned wrong answers.
*/
--*greywolf;
--
Solaris 2.0 -- "What a totally amazing excellent discovery. NOT!"