diff options
| author | 2017-12-24 16:59:50 +0000 | |
|---|---|---|
| committer | 2017-12-24 16:59:50 +0000 | |
| commit | b1a8839e5db14821f106a980d8ae4fb93549b51f (patch) | |
| tree | 4746627c6c819f10b5eb58bc52a6a077601a1bcd /gnu/llvm/lib/CodeGen/MachineLICM.cpp | |
| parent | Somes fixes for the VIA PadLock drivers. (diff) | |
| download | wireguard-openbsd-b1a8839e5db14821f106a980d8ae4fb93549b51f.tar.xz wireguard-openbsd-b1a8839e5db14821f106a980d8ae4fb93549b51f.zip | |
Use more libm.
adj360() is a modulo operation: use fmod(3) to simplify things.
Adding 0.5 to the phase to steer implicit truncation is a hack:
use lround(3) to simplify things.
Product of a discussion with pjanzen@/jca@/tb@ regarding floating-point
rounding and the importance of correctly classifying a gibbous moon.
ok pjanzen@ jca@ tb@
Diffstat (limited to 'gnu/llvm/lib/CodeGen/MachineLICM.cpp')
0 files changed, 0 insertions, 0 deletions
