reflection / D's function calling convention?
Don Clugston
dac at nospam.com.au
Wed Nov 1 07:07:07 PST 2006
Jarrett Billingsley wrote:
> "Chris Miller" <chris at dprogramming.com> wrote in message
> news:op.tib3szvnpo9bzi at tanu...
>> Can you please explain some more...
>
> Here's all that I've researched:
>
[snip]
A great collection! How about tidying it up, and giving the whole thing
to Walter to put into the spec?
>> Returning floating point: in floating point register?
>
> Ooh, not sure about that one.
Yes, they are returned on top of the x87 floating point stack.
This applies to complex types as well:
Example:
// Calculate cos(y) + i sin(y).
creal expi(real y)
{
asm
{
fld y;
fsincos;
fxch st(1), st(0);
}
}
More information about the Digitalmars-d
mailing list