Home
last modified time | relevance | path

Searched refs:isinf (Results 1 – 14 of 14) sorted by relevance

/vim-8.2.3635/src/testdir/
H A Dtest_float_func.vim338 call assert_equal(1, isinf(1.0/0.0))
339 call assert_equal(-1, isinf(-1.0/0.0))
340 eval (-1.0/0.0)->isinf()->assert_equal(-1)
341 call assert_false(isinf(1.0))
342 call assert_false(isinf(0.0/0.0))
343 call assert_false(isinf('a'))
344 call assert_false(isinf([]))
345 call assert_false(isinf({}))
H A Dtest_vim9_builtin.vim1177 # isinf()
1178 …CheckDefAndScriptFailure2(['isinf("a")'], 'E1013: Argument 1: type mismatch, expected number but g…
/vim-8.2.3635/src/
H A Dmacros.h286 static __inline int isinf(double x) { return !_finite(x) && !_isnan(x); } in isinf() function
293 static inline int isinf(double x) { return !isnan(x) && isnan(x - x); } in isinf() function
H A Dfloat.c353 if (argvars[0].v_type == VAR_FLOAT && isinf(argvars[0].vval.v_float)) in f_isinf()
H A Dconfig.h.in493 /* Define if we have isinf() */
H A Djson.c339 else if (isinf(val->vval.v_float)) in json_encode_item()
H A Dstrings.c2548 else if (isinf(f)) in vim_vsnprintf_typval()
H A Dconfigure.ac3941 dnl isinf() and isnan() need to include header files and may need -lm.
3942 AC_MSG_CHECKING([for isinf()])
3951 ], [int r = isinf(1.11); ],
/vim-8.2.3635/runtime/syntax/
H A Darduino.vim64 syn keyword arduinoStdFunc isfinite isinf isnan isPressed ldexp ldexpf log
H A Dvim.vim83 …epos getregtype gettext getwinvar has_key histget hlset input inputsecret isinf job_info join keys…
/vim-8.2.3635/runtime/doc/
H A Deval.txt2755 isinf({expr}) Number determine if {expr} is infinity value
7080 isinf({expr}) *isinf()*
7083 :echo isinf(1.0 / 0.0)
7085 :echo isinf(-1.0 / 0.0)
7089 Compute()->isinf()
H A Dusr_41.txt723 isinf() check for infinity
H A Dtags7626 isinf() eval.txt /*isinf()*
H A Dversion8.txt8891 Problem: MS-Windows doesn't have isnan() and isinf().
9061 Problem: Old system doesn't have isinf() and NAN. (Ben Fritz)
9062 Solution: Adjust #ifdefs. Detect isnan() and isinf() functions with
9205 Problem: Configure doesn't find isinf() and isnan() on some systems.
9338 Problem: For WIN32 isinf() is defined as a macro.
13901 Solution: Add define to get isinf().
25945 |isinf()|
32682 Solution: Add isinf(). (Ozaki Kiichi, closes #3787)