On 4 July 2014 14:01, Daniel Murphy via Digitalmars-d
<[email protected]> wrote:
>
> "Iain Buclaw via Digitalmars-d" <[email protected]> wrote in
> message news:[email protected]...
>
>
>> FP types are fixed.  float is 32bit, double 64bit.
>
>
> That's 2/3.
>
>
>> What 's the mangling problem with long double? There's only *one* long
>> double.
>
>'
> long double may not be the same size as D's real, eg in msvc it's 64-bit.
> You can still still call these functions from D using double in C, but the
> mangling will not match in C++.
>

You're confusing long double with size_t.  I did a cursory look up
msvc++ mangling, and long double is always 'O'.  The itanium spec says
that long double is 'e' - unless 128bits in which case it is 'g'.

Iain.

Reply via email to