Commit d935c44e authored by KANTAPONG SONG-NGAM's avatar KANTAPONG SONG-NGAM

workshop5

parents 13e8ddfa aec3287d
#59110440024
#kantapong_song-ngam
def ge(A,b):
pass
def solve(A,b):
pass
def single_prec(v):
return (-1)**int(v[0])*sum([int(v[i])*2**(8-i) for i in range(1,23)])
def double_prec(v):
return (-1)**int(v[0])*sum([int(v[i])*2**(11-i) for i in range(1,23)])
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