Commit 1d5d6fe9 authored by “Sivakorn”'s avatar “Sivakorn”

ส่งการบ้าน week04 และ เพิ่มไฟล์ gitignore

parent f39c1e97
/DS_Store/
\ No newline at end of file
...@@ -31,4 +31,6 @@ def double_prec(v): ...@@ -31,4 +31,6 @@ def double_prec(v):
xx = (-1)*(i+1) xx = (-1)*(i+1)
x+=y*2**xx; x+=y*2**xx;
ee = int(e,2); ee = int(e,2);
return((-1)**s * 2**(ee-1023) *x) return((-1)**s * 2**(ee-1023) *x)
\ No newline at end of file
#Sivakorn
\ No newline at end of file
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