A Philosophy of Software Design
Walter Bright
newshound2 at digitalmars.com
Mon Jun 29 07:58:08 UTC 2026
On 6/28/2026 5:14 AM, Alexandru Ermicioi wrote:
> You'd typically pass this info in exception itself, therefore getting file and
> number, and runtime values causing this.
There wouldn't be an exception thrown if:
```d
double d;
```
default initializes it to 0.0 instead of NaN. You will never have an indication
that the calculation produces the wrong value.
More information about the Digitalmars-d
mailing list