mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-10-17 08:17:26 +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:
@@ -7,12 +7,8 @@ void main()
|
||||
cfloat cf3 = func();
|
||||
auto c1 = cf1 + cf2;
|
||||
auto c2 = cf2 - cf3;
|
||||
{
|
||||
auto c3 = cf1 * cf3;
|
||||
{
|
||||
auto c4 = cf2 / cf3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cfloat func()
|
||||
|
||||
Reference in New Issue
Block a user