diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-05-22 18:31:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-22 18:31:07 +0200 |
commit | b5cb4935c268f12e63b61e035b455b0a59e67aa2 (patch) | |
tree | 5710fd654618a971c03f268d68d8a52af409fc5c /bridges | |
parent | 4330085f141327ee494bb541d4f2f291dd1c590b (diff) |
Work around undef conversion of large double to float
...as flagged by -fsanitize=undefined. But is it really undefined?
[conv.double] "If the source value is between two adjacent destination values,
the result of the conversion is an implementation-defined choice of either of
those values." So if the double is between std::numeric_limits<float>::max()
and std::numeric_limits<float>::infinity()...
Change-Id: I6389c8ac4a922991e240638d231dd2a39e173882
Diffstat (limited to 'bridges')
0 files changed, 0 insertions, 0 deletions