mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-08-28 09:10:04 +02:00
Complex number should now follow the D ABI on x86. They're also treated as first class values now. Big change.
This commit is contained in:
@@ -4,11 +4,7 @@ void main()
|
||||
{
|
||||
cdouble c = 3.0 + 0i;
|
||||
cdouble d = 2.0 + 0i;
|
||||
{
|
||||
cdouble c1 = c + 3.0;
|
||||
cdouble c2 = c - 3.0i;
|
||||
}
|
||||
{
|
||||
cdouble c1 = c / 2.0;
|
||||
}
|
||||
cdouble c1 = c + 3.0;
|
||||
cdouble c2 = c - 3.0i;
|
||||
cdouble c3 = c / 2.0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user