Recent

Author Topic: BigInt library, full-featured & free?  (Read 28578 times)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: BigInt library, full-featured & free?
« Reply #15 on: May 11, 2010, 06:42:49 am »
I also found TPMath, I used it in the past but it seems to be recently updated as well. It has quite a lot of features, just try the demos.

Wodzu

  • Full Member
  • ***
  • Posts: 171
Re: BigInt library, full-featured & free?
« Reply #16 on: May 11, 2010, 07:24:34 am »
I also found TPMath, I used it in the past but it seems to be recently updated as well. It has quite a lot of features, just try the demos.

Thanks for that mate!

idog

  • Full Member
  • ***
  • Posts: 121
    • www.idogendel.com (Hebrew)
Re: BigInt library, full-featured & free?
« Reply #17 on: May 12, 2010, 04:18:45 pm »
I also found TPMath, I used it in the past but it seems to be recently updated as well. It has quite a lot of features, just try the demos.

...And it has documentation, no less!  ;)
Thanks from me too!

[Edit:] Hmmmm... does this have arbitrary-precision numbers at all? I couldn't find any at first glance!
« Last Edit: May 12, 2010, 06:08:22 pm by idog »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: BigInt library, full-featured & free?
« Reply #18 on: May 14, 2010, 07:05:56 am »
Quote
Hmmmm... does this have arbitrary-precision numbers at all? I couldn't find any at first glance!
Yes, that's the missing part.

Wodzu

  • Full Member
  • ***
  • Posts: 171
Re: BigInt library, full-featured & free?
« Reply #19 on: May 19, 2010, 10:17:46 am »
Guys, I've found one library which could be extremaly helpful.
However it is designed for Delphi:

http://www.delphifeeds.com/go/s/68275

But maybe porting to the FPS would not be that hard?

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: BigInt library, full-featured & free?
« Reply #20 on: May 19, 2010, 11:27:30 am »
Quote
But maybe porting to the FPS would not be that hard?
It would, until FPC has anonymous function support and Delphi style generics (well, the last one could be replaced by our own implementation, but it's not complete yet)

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4474
  • I like bugs.
Re: BigInt library, full-featured & free?
« Reply #21 on: May 19, 2010, 11:44:14 am »
Hi

This DeHL library seems to have:
- A set of generic collections classes (TList, TDictionary, THashSet, TMultiMap, TPriorityQueue and etc).

I was wondering why. Delphi already has those, starting from Delphi2009. Maybe the lib was created before that.
It would be very useful with FPC. Porting would use FPC's generics syntax.

The lib has other nice parts, too, like the .NET style string class, TString.

Juha
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Wodzu

  • Full Member
  • ***
  • Posts: 171
Re: BigInt library, full-featured & free?
« Reply #22 on: May 19, 2010, 01:47:12 pm »
I think I've seen this library around Delphi 2007 times or even earlier. Just have forgotten about it.

Support for big numbers is also nice...

 

TinyPortal © 2005-2018