Mark Kettenis writes:
>> I went looking for why things are better on FreeBSD and they have a
>> different (simpler) implementation of cos. I copied it over. Given the
>> common provenance, I expect the copyright situation to be unambiguous.
>
> I think you will also need the changes done in FreeB
> From: Greg Steuck
> Date: Mon, 10 Jan 2022 20:59:17 -0800
>
> Greg Steuck writes:
>
> > This failure can be reduced to a trivial program which does change
> > its behavior for the worse if s_cos.S is taken out:
> >
> > #include
> > #include
> >
> > int main(int a, char**b) {
> > double
Greg Steuck writes:
> I went looking for why things are better on FreeBSD and they have a
> different (simpler) implementation of cos. I copied it over. Given the
> common provenance, I expect the copyright situation to be unambiguous.
>
> With the two patches things look almost universally bette
Greg Steuck writes:
> This failure can be reduced to a trivial program which does change
> its behavior for the worse if s_cos.S is taken out:
>
> #include
> #include
>
> int main(int a, char**b) {
> double y = -0.34061437849088045332;
> printf("cos(%lf)=%le delta=%e\n", y, cos(y),