projects
/
ieee754fpu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add test_add fp16
[ieee754fpu.git]
/
src
/
ieee754
/
fpcommon
/
test
/
unit_test_half.py
diff --git
a/src/ieee754/fpcommon/test/unit_test_half.py
b/src/ieee754/fpcommon/test/unit_test_half.py
index 146d9eca9944db51b65e6bf76fedf456a3ec7e6b..a0a35cb2eba9ae7bab5d915ea68e11ce828b119f 100644
(file)
--- a/
src/ieee754/fpcommon/test/unit_test_half.py
+++ b/
src/ieee754/fpcommon/test/unit_test_half.py
@@
-39,7
+39,7
@@
def match(x, y):
)
def create(s, e, m):
- return set_exponent((s<<15) | m,
x
)
+ return set_exponent((s<<15) | m,
e
)
def inf(s):
return create(s, 16, 0)