diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2023-11-30 20:35:25 +0000 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2023-11-30 20:35:25 +0000 |
commit | 1b7b916b7631ddf73c38e3a0070d64e4636cb2f3 (patch) | |
tree | cd08258054db80bb9a11b1061bb091c70b76926a /src/nvim/math.c | |
parent | eaa89c11d0f8aefbb512de769c6c82f61a8baca3 (diff) | |
parent | 4a8bf24ac690004aedf5540fa440e788459e5e34 (diff) | |
download | rneovim-aucmd_textputpost.tar.gz rneovim-aucmd_textputpost.tar.bz2 rneovim-aucmd_textputpost.zip |
Merge remote-tracking branch 'upstream/master' into aucmd_textputpostaucmd_textputpost
Diffstat (limited to 'src/nvim/math.c')
-rw-r--r-- | src/nvim/math.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/nvim/math.c b/src/nvim/math.c index 31c6b5af69..96ff1bef10 100644 --- a/src/nvim/math.c +++ b/src/nvim/math.c @@ -1,6 +1,3 @@ -// This is an open source non-commercial project. Dear PVS-Studio, please check -// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com - // uncrustify:off #include <math.h> // uncrustify:on @@ -16,10 +13,9 @@ int xfpclassify(double d) { uint64_t m; - int e; memcpy(&m, &d, sizeof(m)); - e = 0x7ff & (m >> 52); + int e = 0x7ff & (m >> 52); m = 0xfffffffffffffULL & m; switch (e) { |