Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200205133226.GA1663@brightrain.aerifal.cx>
Date: Wed, 5 Feb 2020 08:32:26 -0500
From: Rich Felker <dalias@...c.org>
To: "sysysongyue@...il.com" <sysysongyue@...il.com>
Cc: musl@...ts.openwall.com
Subject: Re: [BUG] catanf: overflow when the parameter is valid

On Wed, Feb 05, 2020 at 04:33:43PM +0800, sysysongyue@...il.com wrote:
>    Hi!
>    I wrote some testcases for catanf(), and found that catanf(1+0*I) return
>    99999996802856924650656260769173209088+99999996802856924650656260769173209088*I,
>    which should return pi/4 in expected. catanl, catanhf, and catanhl have
>    the same problem. Is this a bug? Any patches existed?
>    Thank you in advance!

Looks like the equivalent of commit
10e4bd3780050e75b72aac5d85c31816419bb17d for catan was not applied to
catanf. It should be an easy fix. I'll look at it.

BTW your mail contained an empty plaintext part and the actual message
was buried in the html version. I was able to dig it out to reply, but
try to send text-only or at least with a matching text part since many
readers probably can't see your email and the archive probably missed
the body.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.