From: Joel Young (jdy_at_[hidden])
Date: 2004-04-30 08:16:50
I'll try that fix out. Don't worry about the code not running. I just
hacked down a long sequence of typedefs and declarations from a series
of function calls. It doesn't "mean" anything in the form I sent you.
I noticed I still left in a bunch of lines.
From: "Richard Peters" <r.a.peters_at_[hidden]>
Date: Fri, 30 Apr 2004 12:42:03 +0200
Subj: Re: [Boost] Big integer library
----- Original Message -----
From: "Joel Young" <jdy_at_[hidden]>
> > > I have some questions. Will it be possible to say
> > >
> > > 1. typedef boost::rational< big_integer > big_rational.
> > Yes. In fact, the big_integer_example contains an example where
> > boost::rational<big_integer> is used.
> I have not had success using big_integer inside rational. I get
> concept check errors with the test code below.
I managed to get the code to compile by adding 'explicit' to the constructor
on line 132 of big_integer.hpp.
However, when I tried to run your code under vc7.1 or gcc, the program
requested massive amounts of memory and crashed with a write access
violation, even when not using boost::rational<big_integer> but
boost::rational<long long>. I'm not familiar with the multi_array library,
so I cannot investigate it further.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk