DIP: add Bit Fields
Walter Bright
newshound2 at digitalmars.com
Mon Mar 11 18:02:54 UTC 2024
On 3/9/2024 12:38 AM, Daniel N wrote:
> I guess it might be possible to make an even stronger guarantee, specifying that
> the current behavior is how it must work on windows and unix in order to be
> compliant with the D language spec. The same way we decided to define the common
> practise for integer wrapping and two's complement.
I've thought about that, and it seemed more straightforward to simply rely on
the specified behavior of the associated C compiler. It's like D doesn't specify
how floating point arithmetic works, just that it conforms to IEEE754.
More information about the dip.development
mailing list