Re: Obscure Isssue #1

2022-08-05 Thread Ruby The Roobster via Digitalmars-d-learn
On Friday, 5 August 2022 at 17:02:48 UTC, Ruby The Roobster wrote: On Friday, 5 August 2022 at 16:58:25 UTC, Ruby The Roobster wrote: On Friday, 5 August 2022 at 15:07:18 UTC, H. S. Teoh wrote: [SNIP] In other words, you're trying to construct a BigInt with a value of 10^18030 (a number with 18

Re: Obscure Isssue #1

2022-08-05 Thread Ruby The Roobster via Digitalmars-d-learn
On Friday, 5 August 2022 at 16:58:25 UTC, Ruby The Roobster wrote: On Friday, 5 August 2022 at 15:07:18 UTC, H. S. Teoh wrote: [SNIP] In other words, you're trying to construct a BigInt with a value of 10^18030 (a number with 18030 digits) and wondering why the computer is taking forever to com

Re: Obscure Isssue #1

2022-08-05 Thread Ruby The Roobster via Digitalmars-d-learn
On Friday, 5 August 2022 at 15:07:18 UTC, H. S. Teoh wrote: [SNIP] In other words, you're trying to construct a BigInt with a value of 10^18030 (a number with 18030 digits) and wondering why the computer is taking forever to compute the value. :-D [SNIP] T I have no idea how the program genera

Re: Obscure Isssue #1

2022-08-05 Thread H. S. Teoh via Digitalmars-d-learn
On Fri, Aug 05, 2022 at 02:23:15PM +, Ruby The Roobster via Digitalmars-d-learn wrote: > On Friday, 5 August 2022 at 14:11:09 UTC, H. S. Teoh wrote: > > On Fri, Aug 05, 2022 at 01:56:40PM +, Ruby The Roobster via > > Digitalmars-d-learn wrote: [...] > > > public import dutils.math.core; >

Re: Obscure Isssue #1

2022-08-05 Thread Ruby The Roobster via Digitalmars-d-learn
On Friday, 5 August 2022 at 14:11:09 UTC, H. S. Teoh wrote: On Fri, Aug 05, 2022 at 01:56:40PM +, Ruby The Roobster via Digitalmars-d-learn wrote: [...] public import dutils.math.core; Is the imported module available anywhere? I'm trying to run your code sample to determine what's going

Re: Obscure Isssue #1

2022-08-05 Thread H. S. Teoh via Digitalmars-d-learn
On Fri, Aug 05, 2022 at 01:56:40PM +, Ruby The Roobster via Digitalmars-d-learn wrote: [...] > public import dutils.math.core; Is the imported module available anywhere? I'm trying to run your code sample to determine what's going on, but it's not compiling because you didn't post the code t

Obscure Isssue #1

2022-08-05 Thread Ruby The Roobster via Digitalmars-d-learn
My code (as seen below) is failing due to a single line. That line is: ```d this.ival += (this.val * rhs.ival); ``` I kid you not, this is the reason why running unittests results in a program that just hangs. And no, replacing unittest with void main() doesn't fix the problem. ```d module