aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2023-11-14 12:05:19 +0100
committerGeorg-Johann Lay <avr@gjlay.de>2023-11-14 12:10:08 +0100
commit3232e73c446a3a70fd2fcce4eabc0564b08312a7 (patch)
tree1ca35ea616aa3b029bb1931a4395d639b33cff38 /gcc/expr.cc
parente47e836f3138f89350e2fcd42ee1ec6741008bcb (diff)
downloadgcc-3232e73c446a3a70fd2fcce4eabc0564b08312a7.zip
gcc-3232e73c446a3a70fd2fcce4eabc0564b08312a7.tar.gz
gcc-3232e73c446a3a70fd2fcce4eabc0564b08312a7.tar.bz2
LibF7: sinh: Fix loss of precision due to cancellation for small values.
libgcc/config/avr/libf7/ * libf7-const.def [F7MOD_sinh_]: Add MiniMax polynomial. * libf7.c (f7_sinh): Use it instead of (exp(x) - exp(-x)) / 2 when |x| < 0.5 to avoid loss of precision due to cancellation.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions