Skip to content

Instantly share code, notes, and snippets.

View s-yukikaze's full-sized avatar

Sakura-yukikaze s-yukikaze

View GitHub Profile
@s-yukikaze
s-yukikaze / uint64.vim
Created March 16, 2012 09:02
64bit unsigned integer implementation@vim script
function! uint64#unit()
let a = copy(s:UInt64).init(0x1234,0x56789ABC)
let b = copy(s:UInt64).init(0x8765,0x43210FED)
let c = a.add(b)
echo printf("%x%x", c._high, c._low)
let d = b.sub(a)
echo printf("%x%x", d._high, d._low)
let e = a.mul(b)
echo printf("%x%x", e._high, e._low)
endfunction
Error detected while processing function denite#helper#call_denite[16]..denite#start[4]..<SNR>50_start[1]..denite#initialize[1]..denite#init#_initialize[10]..denite#vim#_initialize:
line 19:
Traceback (most recent call last):
File "<string>", line 4, in <module>
vim.error: Vim:/must>not&exist/foo:1: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses