On Tue, Nov 27, 2012 at 2:32 PM, Sean McBride <span dir="ltr"><<a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Fri, 23 Nov 2012 16:40:57 -0500, Sean McBride said:<br>
<br>
>I'm seeing some other weirdness with -fsanitize=float-cast-overflow:<br>
><br>
><unknown>: fatal error: value 255 is outside the range of representable<br>
>values of type 'unsigned char'<br>
><br>
>hmmm, could there be an off-by-one error in the check here?<br>
<br>
</div>Regarding this, it would be helpful if ubsan output the exact value of the floating point value.</blockquote><div><br></div><div>I already have a WIP patch for that, but I'm busy with other things at the moment. What I'm aiming for is printing out the shortest string which provides the exact same value.</div>
</div>