Commit ec6d4adc authored by Kittisak Maneewong's avatar Kittisak Maneewong

Edit Converter

parent 0b79a3e7
def double(v):
v=v.replace(' ','')
v=v.replace(" ","")
v=v.replace("​","")
v+="0"*(64-len(v))
sign=1 if v[0]=='0' else -1
e=sum([int(v[i])*(2**(11-i)) for i in range(1,12)])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment