summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi/acpi.c
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2011-07-02 19:40:01 +0000
committermartynas <martynas@openbsd.org>2011-07-02 19:40:01 +0000
commit6d7e72cbfa0a9827aed9625a73ee55d640808bbb (patch)
tree764ccae709e296fe080576fc42d082bdadc850af /sys/dev/acpi/acpi.c
parentTrick lint into recording the right prototypes in the llib-lc.ln (diff)
downloadwireguard-openbsd-6d7e72cbfa0a9827aed9625a73ee55d640808bbb.tar.xz
wireguard-openbsd-6d7e72cbfa0a9827aed9625a73ee55d640808bbb.zip
For tiny x, tanhf = x*(one+x). GCC (at -O2) optimized this into
x+x*x, as a result sign got lost for the zero inputs. Explicitly return in this case, similarly like has been done in tanh.
Diffstat (limited to 'sys/dev/acpi/acpi.c')
0 files changed, 0 insertions, 0 deletions