aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/math.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-09-22 15:25:38 +0200
committerGitHub <noreply@github.com>2021-09-22 06:25:38 -0700
commit48e67b229415b4e2b3315bd00b817e5f9ab970c8 (patch)
tree334596ac20fa458d3966e9dbc5ed7f2478ccbafa /src/nvim/math.c
parentfb6f27e86f2ca2fbff88737251d9e26016a62081 (diff)
downloadrneovim-48e67b229415b4e2b3315bd00b817e5f9ab970c8.tar.gz
rneovim-48e67b229415b4e2b3315bd00b817e5f9ab970c8.tar.bz2
rneovim-48e67b229415b4e2b3315bd00b817e5f9ab970c8.zip
refactor: format with uncrustify #15741
Diffstat (limited to 'src/nvim/math.c')
-rw-r--r--src/nvim/math.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/nvim/math.c b/src/nvim/math.c
index 63309b6f7a..791f1f9373 100644
--- a/src/nvim/math.c
+++ b/src/nvim/math.c
@@ -2,6 +2,7 @@
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
#include <math.h>
+
#include <stdint.h>
#include <string.h>
@@ -21,9 +22,12 @@ int xfpclassify(double d)
m = 0xfffffffffffffULL & m;
switch (e) {
- default: return FP_NORMAL;
- case 0x000: return m ? FP_SUBNORMAL : FP_ZERO;
- case 0x7ff: return m ? FP_NAN : FP_INFINITE;
+ default:
+ return FP_NORMAL;
+ case 0x000:
+ return m ? FP_SUBNORMAL : FP_ZERO;
+ case 0x7ff:
+ return m ? FP_NAN : FP_INFINITE;
}
}
int xisinf(double d)