]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Apply fix for ld80 and ld128 submitted by Steve Kargl:
authorStefan Eßer <se@FreeBSD.org>
Sun, 20 Sep 2020 05:28:31 +0000 (05:28 +0000)
committerStefan Eßer <se@FreeBSD.org>
Sun, 20 Sep 2020 05:28:31 +0000 (05:28 +0000)
commita67cc943273ba7cba2f78e33fc5897e1fbecd462
tree14a2ea8cbaa334c0cc49ff7ea43b10994606bb18
parent85ee267a3eb58f9aa1a73a1abcf033c5c460b324
Apply fix for ld80 and ld128 submitted by Steve Kargl:

- Micro-optimization: use sincosl(x) instead of a call to cosl(x) and
  a call to sinl(x).  Argument reduction is done once not twice.

- Use a long double constant instead of an invalid double constant.

- Spell scale2 correctly

He could not test ld128, so that patch is untested.

Submitted by: sgk at troutmask.apl.washington.edu (Steve Kargl)
lib/msun/ld128/k_expl.h
lib/msun/ld80/k_expl.h