Home
last modified time | relevance | path

Searched refs:trunc (Results 1 – 25 of 29) sorted by relevance

12

/vim-8.2.3635/src/testdir/
H A Dtest_float_func.vim324 call assert_equal('2.0', string(trunc(2.1)))
325 call assert_equal('2.0', string(trunc(2.5)))
326 call assert_equal('2.0', string(trunc(2.9)))
327 eval 2.9->trunc()->string()->assert_equal('2.0')
328 call assert_equal('-2.0', string(trunc(-2.1)))
329 call assert_equal('-2.0', string(trunc(-2.5)))
330 call assert_equal('-2.0', string(trunc(-2.9)))
331 call assert_equal('nan', string(trunc(0.0/0.0)))
332 call assert_equal('inf', string(trunc(1.0/0.0)))
333 call assert_equal('-inf', string(trunc(-1.0/0.0)))
[all …]
H A Dtest_options.vim160 exe "set ft=trunc\x00name"
161 call assert_equal("trunc", &filetype)
178 exe "set syn=trunc\x00name"
179 call assert_equal("trunc", &syntax)
195 call assert_fails(":set kmp=trunc\x00name", "E544:")
196 call assert_fails(":set kmp=trunc\x00name", "trunc")
H A Dtest_vim9_builtin.vim1201 # trunc()
1202 …CheckDefAndScriptFailure2(['trunc("a")'], 'E1013: Argument 1: type mismatch, expected number but g…
/vim-8.2.3635/runtime/syntax/
H A Dsqloracle.vim117 syn keyword sqlFunction to_timestamp_tz to_dsinterval to_yminterval trunc tz_offset
121 syn keyword sqlFunction sin sinh sqrt tan tanh trunc width_bucket
H A Dia64.vim121 syn match ia64opcode "fcvt\.\(\(fxu\=\(\.trunc\)\=\(\.s[0-3]\)\=\)\|\(xf\|xuf\(\.[sd]\)\=\(\.s[0-3]…
135 syn match ia64opcode "fpcvt\.fxu\=\(\(\.trunc\)\=\(\.s[0-3]\)\=\)\>"
H A Dampl.vim83 syn keyword amplBuiltInFunction sinh sqrt tan tanh trunc
H A Darduino.vim69 syn keyword arduinoStdFunc tanhf trunc truncf
H A Dvoscm.vim39 syn keyword voscmFunction contained terminal_name time translate trunc unique_string unquote us…
H A Dsqlinformix.vim133 syn keyword sqlFunction to_char tan to_date trim trunc upper variance
H A Dsqlforms.vim102 syntax keyword sqlOperator like escape trunc lpad rpad sum
H A Dmoo.vim95 …k_id task_stack ticks_left time tofloat toint toliteral tonum toobj tostr trunc typeof unlisten va…
H A Dabap.vim153 syn keyword abapOperator abs sign ceil floor trunc frac acos asin atan cos sin tan
H A Derlang.vim135 syn keyword erlangBIF trunc tuple_size tuple_to_list unlink contained
H A Deuphoria4.vim162 syn keyword euphoria4Library transmute trim trim_head trim_tail trsprintf trunc
H A Dmush.vim77 syntax keyword mushFunction contained trigger trim trimpenn trimtiny trunc type u
H A Dsqr.vim178 syn keyword sqrFunction substrt strtodate tan tanh trunc to_char
H A Dmupad.vim84 syn keyword mupadFunction ceil floor round trunc
H A Dsas.vim102 …imevalue tinv tnonct today translate transtrn tranwrd trigamma trim trimn trunc tso typeof tzoneid…
185 …to_time to_timestamp today translate transtrn tranwrd trigamma trim trimn trunc uniform upcase uss…
H A Dmaxima.vim191 syn keyword maximaFunc trunc truncate tr_warn_bad_function_calls tr_warn_fexpr
H A Dstata.vim226 syn region stataFunc matchgroup=Function start=/\<trunc(/ end=/)/ contains=@stataFuncGroup
H A D8th.vim228 Builtin sind n:sind sqr n:sqr sqrt n:sqrt tan n:tan tand n:tand trunc n:trunc ~= n:~= ! net:! !? n…
H A Dmaple.vim258 syn keyword mvLibrary Irreduc WeierstrassZeta entries iratrecon protect trunc
H A Dprogress.vim261 syn keyword ProgressOperator transpar[ent] trunc[ate] ttcodepage type type-of unbox unbuff[ered] un…
H A Dvim.vim83 …est_null_channel test_null_partial test_scrollbar test_void timer_stopall trunc uniq winbufnr win_…
/vim-8.2.3635/src/
H A Dsearch.c1393 char_u *trunc; in do_search() local
1465 trunc = msg_strtrunc(msgbuf, TRUE); in do_search()
1466 if (trunc != NULL) in do_search()
1469 msgbuf = trunc; in do_search()

12