Re: regression in tgamma?
Jeff Johnston via Newlib <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <CAOox84uZQJWPb6kHtnVW=mOxAVoVVgWwtB2pxs26pty7etBHew@mail.gmail.com> |
I am also seeing inf instead of -inf for both tgamma and tgammaf in my testing. -- Jeff J. On Thu, Dec 17, 2020 at 11:13 AM Keith Packard <[email protected]> wrote: > Paul Zimmermann <[email protected]> writes: > > > zimmerma@tomate:/tmp/newlib-cygwin$ ./a.out > > x=-0x0p+0 y=inf > > x=-0x1.53f198fe3b278p+7 y=0x1.fd6d312572d9cp-1015 > > > > The double value is ok, however the float result should be -inf. > > This should have been fixed by Keith Packard in commit 4641693. > > And it remains fixed in my code here (which is in picolibc instead of > newlib)? > > x=-0 y=-inf > x=-169.972 y=5.66756e-306 > > (using %g instead of %a) > -- > -keith >