Question on multiprecision types
H. S. Teoh
hsteoh at quickfur.ath.cx
Mon Aug 5 22:58:22 PDT 2013
On Tue, Aug 06, 2013 at 07:43:29AM +0200, SteveGuo wrote:
> Does D support types like cpp_int or cpp_rational in
> boost::multiprecision? D is designed directly mapped to hardware
> for speed reason. But in some cases, we do need types like
> cpp_int or cpp_rational support.
There's std.bigint, but I don't know whether there's a rational library
yet. But you can probably use BigInt to implement one.
T
--
Help a man when he is in trouble and he will remember you when he is in trouble again.
More information about the Digitalmars-d
mailing list