mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-03 16:21:41 +00:00
Remove undefined behavior in hex string->APFloat
conversion. Try 0x1.0000a4p+0f. Neil, please review. llvm-svn: 51132
This commit is contained in:
parent
e935a1ac40
commit
b9d2bc9303
@ -2003,7 +2003,7 @@ APFloat::convertFromHexadecimalString(const char *p,
|
||||
firstSignificantDigit = p;
|
||||
|
||||
for(;;) {
|
||||
unsigned int hex_value;
|
||||
uint64_t hex_value;
|
||||
|
||||
if(*p == '.') {
|
||||
assert(dot == 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user