November 23 Learn » Re: divmod assembly implementation | |||
|---|---|---|---|
| |||
...in D e.g.:
```d
ulong[2] div(ulong a, ulong b)
{
return [a / b... | |||
November 23 Learn » divmod assembly implementation | |||
|---|---|---|---|
| |||
...asm {
xor RDX, RDX;
mov RAX, a;
div b;
mov quot, RAX;
mov rem, RDX... | |||
November 15 DIP Ideas » Re: Allow designated initialization of struct | |||
|---|---|---|---|
| |||
...short x = SHRT_MAX;
short div = 1;
short y = x / div + 1;
printf("%d > %d... | |||
November 12 Issues » [Issue 24855] New: VRP fails to prevent overflow after division | |||
|---|---|---|---|
| |||
...short div = 1;
short y = x / div + 1;
}
```
Expected behavior: Error that expression `x / div... | |||
November 08 DIP Ideas » Re: Allow designated initialization of struct | |||
|---|---|---|---|
| |||
...short x = short.max;
short div = 1;
short y = x / div + 1;
```
I thought the... | |||
October 22 Issues » [Issue 24826] New: HTML tags visible in code examples on `std.algorithm.mutation.remove` page | |||
|---|---|---|---|
| |||
...import std.algorithm.mutation; string[] a = [ "a" </div> Note that <code class="lang-d"><span... | |||
September 04 General » Re: Grammar question. TypeSuffix - what is [ AssignExpression .. AssignExpression ] production for? | |||
|---|---|---|---|
| |||
...each construct can have its own grammar div. Actually types-docs feel a bit sub... | |||
August 30 General » Re: interpolation proposals and safety | |||
|---|---|---|---|
| |||
...writeln ("<div>" ~ data ~ "</div>"); // 1.
writeln (format!"<div>%s</div>" (data)); // 2.
writeln (i"<div... | |||
August 18 General » Re: Language Reference | |||
|---|---|---|---|
| |||
...a bunch of maths functions like `add`/`div`/`mul`/etc. that operate on it—it’s a... | |||
May 10 General » HTML-Code in doc of "std.algorithm.mutation.remove - multiple declarations" | |||
|---|---|---|---|
| |||
...algorithm/mutation/remove.html ``` import std.algorithm.mutation; string[] a = [ "a" </div> ``` What happend here? | |||
Copyright © 1999-2021 by the D Language Foundation