Jeffrey Walton added the comment:

Here's another one I missed. The first is a problem due to silent truncation 
when casting from the double 3.40282e+38 to a float (or Clang is wrong).

[ 10/389] test_struct
/home/jwalton/Desktop/cpython-checkout/Objects/floatobject.c:2028: runtime 
error: value 3.40282e+38 is outside the range of representable values of type 
'float'
/home/jwalton/Desktop/cpython-checkout/Modules/_struct.c:792:15: runtime error: 
left shift of 72057594037927935 by 8 places cannot be represented in type 'long 
long'

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20932>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to