diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 21:52:58 +0000 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 21:52:58 +0000 |
commit | 931bffbda3668ddc609fc1da8f9eb576b170aa52 (patch) | |
tree | d8c1843a95da5ea0bb4acc09f7e37843d9995c86 /src/nvim/math.c | |
parent | 142d9041391780ac15b89886a54015fdc5c73995 (diff) | |
parent | 4a8bf24ac690004aedf5540fa440e788459e5e34 (diff) | |
download | rneovim-userreg.tar.gz rneovim-userreg.tar.bz2 rneovim-userreg.zip |
Merge remote-tracking branch 'upstream/master' into userreguserreg
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) { |