[dba-Tech] Conversion of REAL decimal numbers to Hex

Steve Erbach erbachs at gmail.com
Wed Mar 22 14:45:17 CST 2006


Marty,

Interesting.  I don't have a C++ compiler, however...unless Visual
Studio 6, 2003, or 2005 has one.

Steve Erbach

On 3/22/06, MartyConnelly <martyconnelly at shaw.ca> wrote:
> You could try dll's like this, there is a dos command line function
> available as well with MAPM
> You need these when computing things like  least-squares curve-fitting
> algorithms above 10'th order polynomials
> There are a lot of these packages out there, including commercial
> packages right up to the cost of SAS and SPSS
> Most engineering companies will have already purchased these types of
> packages.
> You will lose a factor of 10 to 20 in speed using these packages.
> I haven't really touched them since doing stress analysis of icebreaker
> hulls.
> but now they are becoming more needed in fields like genome and genetic
> research.
> Anyway this is a freebie
>
> MAPM, A Portable Arbitrary Precision Math Library in C. Open source
> http://www.tc.umn.edu/~ringx004/mapm-main.html
> Article C++ user Journal
> http://www.tc.umn.edu/~ringx004/article-main.html
>
>
> Steve Erbach wrote:
>
> >Marty,
> >
> >Thanks for the excellent technical description.  On the demo web site
> >for the hex conversion there's a breakdown into those three segments
> >you mentioned, so one can see how it's divvied up.
> >
> >I am intensely curious as to whether the Virtual Calc 2000 routines
> >are callable in VBA.  When you consider that Long Integers only go up
> >to 2^20, and that functions like Mod are limited to numbers of that
> >size, too, the achievement of folks like Po-Han Lin and Stephen
> >Wolfram is even more marvelous.
> >
> >I'd love to be able to call a routine that would, say, convert a
> >string of text (in base 62, say) to base 36 after multiplying by pi to
> >100 decimal places.  The only way that Access could handle numbers of
> >that size, of course, would be as strings...but that would be more
> >than adequate if it could just be done as a function call.
> >
> >Mr. Po-Han's calculator is really something.  I'm going to buy the
> >shareware version so that I can directly manipulate scientific
> >notation.  I intend to write to him to find out about whether he has a
> >DLL available with those fabulous functions.
> >
> >Steve Erbach
> >http://TheTownCrank.blogspot.com



More information about the dba-Tech mailing list