|
Boost : |
Subject: Re: [boost] Looking for some "real world" extended precision integer arithmetic tests
From: Christopher Kormanyos (e_float_at_[hidden])
Date: 2012-01-24 16:27:24
> ... So I'd be really interested to put the type through it's paces with some real world code that really thrashes an extended precision integer type. Any suggestions? Anything in Boost?
> Thanks in advance, John.
-------------------------------------------------------------------------------
Hi John,
It sounds like you are moving right along.
In the past, I've done a lot of performance tests with
an old program for computing Lanczos coefficients.
I just dusted it off and ported it. The preliminary first look
is OK. Any type can plug into it with a typedef,
pi, sqrt, pown, sin, exp, log. I can provide you with
the source after further verification if you like.
The test is timed and it takes about 1.5 seconds
for 300 decimal digits on my machine.
It's memory intensive since the matrices
are dynamic in RAM and not put to disk.
So it won't go up over about 2000 decimal digits.
You can play around with "g" and "n" like we
once talked about.
Sincerely, Chris.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk