clang/HIP: Fix broken implementations of __make_mantissa* functions
The optimizer was folding the entire function to return 0. This meant to be checking the character content of the pointer is the string terminator, not null. Also just make null inputs undefined. My docs for nanf say the behavior of the argument is unspecified and segfaults on my system.
parent
a9fe30a1
Please register or sign in to comment