tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: signed overflow in atan2



On Wed, Mar 07, 2018 at 12:33:04AM -0800, Eitan Adler wrote:
> 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.

Looks good to me.

Martin


Home | Main Index | Thread Index | Old Index