about summary refs log tree commit diff
path: root/src/math/nearbyintl.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-01-01 22:11:28 +0100
committerSzabolcs Nagy <nsz@port70.net>2013-01-01 22:11:28 +0100
commit5bb6b24952e3f95ede42b60ac64a33ac34b8e272 (patch)
tree26a9f099e22ab2e3f3675aac619db3b093de551f /src/math/nearbyintl.c
parent697acde67e0da4d73b46445ed536fe9923d515c7 (diff)
downloadmusl-5bb6b24952e3f95ede42b60ac64a33ac34b8e272.tar.gz
musl-5bb6b24952e3f95ede42b60ac64a33ac34b8e272.tar.xz
musl-5bb6b24952e3f95ede42b60ac64a33ac34b8e272.zip
math: bessel cleanup (j1.c and j1f.c)
a common code path in j1 and y1 was factored out so the resulting
object code is a bit smaller

unsigned int arithmetics is used for bit manipulation

j1(-inf) now returns 0 instead of -0

an incorrect threshold in the common code of j1f and y1f got fixed
(this caused spurious overflow and underflow exceptions)

the else branch in pone and pzero functions are fixed
(so code analyzers dont warn about uninitialized values)
Diffstat (limited to 'src/math/nearbyintl.c')
0 files changed, 0 insertions, 0 deletions