FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Little bug with new Int(0) ?

 
Post new topic   Reply to topic     Forum Index -> Deimos
View previous topic :: View next topic  
Author Message
yldjtb



Joined: 23 Oct 2004
Posts: 2

PostPosted: Sat Oct 23, 2004 5:45 pm    Post subject: Little bug with new Int(0) ? Reply with quote

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
View user's profile Send private message
svanleent



Joined: 25 Sep 2004
Posts: 53

PostPosted: Fri Nov 26, 2004 4:13 pm    Post subject: Reply with quote

What happens if you remove the out(s) {...} statement of the Bigint_int file?

Regards,
Sjoerd
_________________
How C++ became ancient
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Deimos All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group