summaryrefslogtreecommitdiff
path: root/src/math/sincos.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2014-04-11 17:57:30 +0200
committerRich Felker <dalias@aerifal.cx>2014-04-16 02:46:05 -0400
commit67dc1f311646c50f3f1c281b7c345bb45401f17d (patch)
tree560c264c0731b725520baf2230805116bdf71db9 /src/math/sincos.c
parent043865cadf1b26ee3a9ccdac3b0d0ca9d380cdad (diff)
downloadmusl-67dc1f311646c50f3f1c281b7c345bb45401f17d.tar.gz
math: fix aliasing violation in long double wrappers
modfl and sincosl were passing long double* instead of double* to the wrapped double precision functions (on archs where long double and double have the same size). This is fixed now by using temporaries (this is not optimized to a single branch so the generated code is a bit bigger). Found by Morten Welinder. (cherry picked from commit 73c870ed3209b68b5c8c350534508cc9d95a6bcb)
Diffstat (limited to 'src/math/sincos.c')
0 files changed, 0 insertions, 0 deletions