mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
refactor: follow style guide
- reduce variable scope - prefer initialization over declaration and assignment
This commit is contained in:
@@ -13,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) {
|
||||
|
Reference in New Issue
Block a user