736570df7c
As a component of atan2(y, x), the case of x == 1.0 is farmed out to atan(y). The current implementation of this comparison is vulnerable to signed integer underflow (that is, undefined behavior), and it's performed in a somewhat more complicated way than it need be. Change it to not be quite so cute, rather directly comparing the high/low bits of x to the specific IEEE-754 bit pattern that encodes 1.0. ok martin@ pgoyette@ maya@ obtained from FreeBSD |
||
---|---|---|
.. | ||
arch | ||
compat | ||
compiler_rt | ||
complex | ||
gen | ||
man | ||
noieee_src | ||
softfloat | ||
src | ||
Makefile | ||
shlib_version |