
----- Original Message ----- From: "Joel Young" <jdy@cs.brown.edu>
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.
<snip code> 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. best regards, Richard Peters