View previous topic :: View next topic |
Author |
Message |
yldjtb
Joined: 23 Oct 2004 Posts: 2
|
Posted: Sat Oct 23, 2004 5:45 pm Post subject: Little bug with new Int(0) ? |
|
|
Hello,
I was coding using deimos when a strange problem appeared that I managed to strip down to the following example :
Code: | import std.stdio;
import deimos.bigint.bigint;
void main()
{
Int n = new Int(0);
printf("n = ?.*s\n", n.toString);
} |
which gives me the following error :
Code: | Error: AssertError Failure bigint_int(191) |
But if I use a number different from zero, it works fine.
Does anyone else have the same problem ?
Yann |
|
Back to top |
|
|
svanleent
Joined: 25 Sep 2004 Posts: 53
|
Posted: Fri Nov 26, 2004 4:13 pm Post subject: |
|
|
What happens if you remove the out(s) {...} statement of the Bigint_int file?
Regards,
Sjoerd _________________ How C++ became ancient |
|
Back to top |
|
|
|