diff options
Diffstat (limited to 'src/nvim/math.c')
-rw-r--r-- | src/nvim/math.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/nvim/math.c b/src/nvim/math.c index 63309b6f7a..63a29509bd 100644 --- a/src/nvim/math.c +++ b/src/nvim/math.c @@ -21,9 +21,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) |