comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: arbitrary precision in IDL?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: arbitrary precision in IDL? [message #71861] Tue, 27 July 2010 10:05 Go to next message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Jul 27, 12:10 pm, "fututre.keyboard" <future.keybo...@gmail.com>
wrote:
> hi, all
>
> I am wondering if there is a way to do arbitrary precision calculation
> with IDL.

I haven't tried them but type in "arbitary precision" into the ITTVIS
code contribution library
( http://www.ittvis.com/UserCommunity/CodeLibrary.aspx ) to find two
DLMs written by Ron Kneusel, one for integer arithmetic and one for
floating point. (I still haven't figure out how to direct link to
a particular code contribution...) --Wayne
Re: arbitrary precision in IDL? [message #71932 is a reply to message #71861] Wed, 28 July 2010 13:45 Go to previous message
fututre.keyboard is currently offline  fututre.keyboard
Messages: 10
Registered: September 2009
Junior Member
Thanks for the link. It is very helpful. I was able to rebuild the dlm
on windows 7 with vc 6. And it's working! The only catch is that I
have to use 32bit IDL. I guess I can live with it for now. Thanks Ron
for contributing such wonderful code and I hope there will be a more
up-to-date version that supports 64bit platforms.

cheers,
fkey

IDL32> print, mp_convert(mp_const_pi(),/full_precision)
3.1415926535897932384626433832795028841971693993751058209749 4459230781640628620899862803482534211706807E0
IDL32> print, mp_convert(mp_new(mp_convert(mp_const_pi(),type=5,/
full_precision),precision=p),/full_precision)
3.1415926535897931159979634685441851615905761718750000000000 0000000000000000000000000000000000000000000E0



On Jul 27, 10:05 am, wlandsman <wlands...@gmail.com> wrote:

> On Jul 27, 12:10 pm, "fututre.keyboard" <future.keybo...@gmail.com>
> wrote:
>
>> hi, all
>
>> I am wondering if there is a way to do arbitrary precision calculation
>> with IDL.
>
> I haven't tried them but type in "arbitary precision" into the ITTVIS
> code contribution library
> (http://www.ittvis.com/UserCommunity/CodeLibrary.aspx) to find two
> DLMs written by Ron Kneusel, one for integer arithmetic and one for
> floating point.     (I still haven't figure out how to direct link to
> a particular code contribution...) --Wayne
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Is there a way to do something about this spam?
Next Topic: Re: Another small V8.0 bug

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:41:20 PDT 2025

Total time taken to generate the page: 0.00456 seconds