Re: [lldb-dev] intended semantics of Scalar

2018-03-23 Thread Greg Clayton via lldb-dev
> On Mar 23, 2018, at 2:27 PM, Tom Tromey via lldb-dev > wrote: > > While trying to use Scalar in my code, I've found some oddities. > > In particular, binary promotion does a bitwise reinterpretation of an > integer when promoting to a floating point type. > > This was easy enough to fix, f

[lldb-dev] intended semantics of Scalar

2018-03-23 Thread Tom Tromey via lldb-dev
While trying to use Scalar in my code, I've found some oddities. In particular, binary promotion does a bitwise reinterpretation of an integer when promoting to a floating point type. This was easy enough to fix, for most cases, but it caused more questions: * What are the intended semantics of