aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/math.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-05-25 20:31:14 +0200
committerGitHub <noreply@github.com>2022-05-25 12:31:14 -0600
commit9fec6dc9a25b5cf9c9a444ac2bd0728e8af3229e (patch)
tree83e044109d61242150b8c98897e179416025f576 /src/nvim/math.c
parent8c4e62351f67dd6a44f67f3a2b6f3a3551acf475 (diff)
downloadrneovim-9fec6dc9a25b5cf9c9a444ac2bd0728e8af3229e.tar.gz
rneovim-9fec6dc9a25b5cf9c9a444ac2bd0728e8af3229e.tar.bz2
rneovim-9fec6dc9a25b5cf9c9a444ac2bd0728e8af3229e.zip
refactor(uncrustify): set maximum number of consecutive newlines to 2 (#18695)
Diffstat (limited to 'src/nvim/math.c')
-rw-r--r--src/nvim/math.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/math.c b/src/nvim/math.c
index 04ded0fd39..b427688083 100644
--- a/src/nvim/math.c
+++ b/src/nvim/math.c
@@ -31,10 +31,12 @@ int xfpclassify(double d)
return m ? FP_NAN : FP_INFINITE;
}
}
+
int xisinf(double d)
{
return FP_INFINITE == xfpclassify(d);
}
+
int xisnan(double d)
{
return FP_NAN == xfpclassify(d);