Skip to content
Commit dbc441eb authored by Aaron Ballman's avatar Aaron Ballman
Browse files

When performing an implicit from float to bool, the floating point value must...

When performing an implicit from float to bool, the floating point value must be *exactly* zero in order for the conversion to result in 0. This does not involve a conversion through an integer value, and so truncation of the value is not performed.

This patch address PR25876.

llvm-svn: 256643
parent 666761af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment