
Cheers,
Lewis
You say that a lot recently... wanna do it?Trond wrote:It is a good idea, and probably not too hard to implement.
Would you include it? It would need some compiler support (like quads on x86). The big problem (which I didn't think about when saying "not too hard"freak wrote:You say that a lot recently... wanna do it?Trond wrote:It is a good idea, and probably not too hard to implement.
...I think, it`s a very good idea, if it`s "easy" to implement (although I`m not the biggest fan of all those GNU LGPL, MIT,BSD, ... whatsoever-licenses)!Little John wrote:Just an idea.
Hm, din't know thatSTARGÅTE wrote:Michael Vogel inlcude works complete with strings, of course, is that simple in the handling but langs bunting in large numbers...
Don't panic – I haven't had a sleepless night (only wailed 10 minutes or soSTARGÅTE wrote:Michael Vogel apology, I have it confused with a different theme.
Did my other post edited.
I'm sorry really
And what happens if such a "certified" lib becomes incompatible to a new PB version? There used to be some userlibraries included in PB, but it never ended well because sooner or later they broke and the original developer wasn't around to maintain it anymore. If we include something in PB, we have to maintain it ourselves. Everything else is too big a risk.Michael Vogel wrote:PS I would like to see a math lib (and others) within the Purebasic package – if not done by the PB team then something like a "certified by fred" lib, this would help sharing code using standardized keywords
A builtin datatype doesn't make much sense, as none of the regular PB libraries would be able to deal with these values anyway.blueznl wrote:If bignums would be easy uncle Fred might have to define a new type, '.z' or something
freak wrote:And what happens if such a "certified" lib becomes incompatible to a new PB version? There used to be some userlibraries included in PB, but it never ended well because sooner or later they broke and the original developer wasn't around to maintain it anymore. If we include something in PB, we have to maintain it ourselves. Everything else is too big a risk.Michael Vogel wrote:PS I would like to see a math lib (and others) within the Purebasic package – if not done by the PB team then something like a "certified by fred" lib, this would help sharing code using standardized keywords
A builtin datatype doesn't make much sense, as none of the regular PB libraries would be able to deal with these values anyway.blueznl wrote:If bignums would be easy uncle Fred might have to define a new type, '.z' or something
As Lewis said, its not something that most PB users will have a use for, so better don't get your hopes up.
Using GNU software in commercial software is difficult because of licensing issues.Lewis wrote:Well, GMP (http://gmplib.org/) has been active since 1991 and, since it's under the GNU umbrella, is unlikely to be abandoned (actually, it's usually updated once a year). I'd say that warrants a PB library interface -- don't you agree?![]()
He's a forum user and created this for PB.I'll take a closer look at the Vogels Number Format link given by IdeasVacuum. Perhaps it has something to offer.
BTW, a Google search on Vogels Number Format didn't find anything of immediate interest. Perhaps one of the VERY lesser known works?
Apart from +, -, *, /, %, shifts, comparisons and to<->from string conversion, what functionality would you need?Personally, I'm only interested in working with big integers, not floating point numbers.