projects
/
contrib
/
beignet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
991e475
)
Change %.20f to %e.
author
Yi Sun
<yi.sun@intel.com>
Wed, 19 Feb 2014 06:04:52 +0000
(14:04 +0800)
committer
Zhigang Gong
<zhigang.gong@intel.com>
Fri, 21 Feb 2014 03:01:54 +0000
(11:01 +0800)
This can make the error information more readable.
Signed-off-by: Yi Sun <yi.sun@intel.com>
utests/utest_generator.py
patch
|
blob
|
history
diff --git
a/utests/utest_generator.py
b/utests/utest_generator.py
index
626ac96
..
8d8eb3f
100644
(file)
--- a/
utests/utest_generator.py
+++ b/
utests/utest_generator.py
@@
-6,7
+6,7
@@
FLT_MIN_NEGA='-0x1.fffffep127f'
FLT_MIN_POSI='0x1.0p-126f'
FLT_MAX_NEGA='-0x1.0p-126f'
-paraTypeList={'float':'%
.20f
','int':'%d','double':'%lf','uint':'%d','string':'%s'}
+paraTypeList={'float':'%
e
','int':'%d','double':'%lf','uint':'%d','string':'%s'}
def ulpUnit(ulpSize):