View previous topic :: View next topic |
Can you use a Math DLL for Higher Mathmatics? |
Very much needed. |
|
20% |
[ 1 ] |
Somewhat needed. |
|
80% |
[ 4 ] |
Not needed in a scripting language like VDS. |
|
0% |
[ 0 ] |
|
Total Votes : 5 |
|
Author |
Message |
vdsalchemist Admin Team
Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Sun Mar 19, 2006 7:38 pm Post subject: Math DLL for higher mathmatics. |
|
|
Hi All,
I am in need of higher mathmatics but before I go through the trouble of making a DLL and/or DSU I was wandering if anyone else would be interested? The reason for making this a different stand alone extention to VDS is the because my GadgetX.dll is growing and this subject does not really fit into the idea for that DLL.
I do have few ideas for this new product but was not sure if others would go for it.
- 128bit integers.
- Quadratic floating point math with quadfloats having 104 significant digits.
All basic operations for both of the numeric types (i.e. ... add, subtract, multiply, divide) would be included.
For the integers bitwise operations (i.e. ... and, or, xor, not, shift left, shift right) plus a few others.
For the floating point math all the basics above plus common floating point arithmetic (i.e. ... sin, asin, hyperbolic asin, cosin, tan, atan, sqrt, logarithms, raise to the power of, floor, ciel, random, ratios, rounding). Well you get the picture there are a ton of math functions in C that I think would be nice to add to VDS. So vote and let me know what ya think _________________ Home of
Give VDS a new purpose!
|
|
Back to top |
|
|
Serge Professional Member
Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Mon Mar 20, 2006 1:49 am Post subject: |
|
|
i'd like to vote 'not needed at the moment'
serge _________________
|
|
Back to top |
|
|
jwfv Valued Contributor
Joined: 19 Mar 2002 Posts: 422 Location: Beaufort, SC
|
Posted: Mon Mar 20, 2006 2:18 am Post subject: |
|
|
I could really use a way to do a particular function. The following is code in xBase/Clipper:
nPayment*((1-(1+nMonthRate)^(-nNumPmts))/nMonthRate)
It is part of a function to figure A.P.R. (annual percentage rate) for fee-based loans. Currently, my VDS program shells out to a small Clipper app for figuring it. Being able to do the calculation in VDS would be a big help. VDS can't do the exponent in the calculation. _________________ Joe Floyd |
|
Back to top |
|
|
vdsalchemist Admin Team
Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Tue Mar 21, 2006 1:00 am Post subject: |
|
|
jwfv wrote: | I could really use a way to do a particular function. The following is code in xBase/Clipper:
nPayment*((1-(1+nMonthRate)^(-nNumPmts))/nMonthRate)
It is part of a function to figure A.P.R. (annual percentage rate) for fee-based loans. Currently, my VDS program shells out to a small Clipper app for figuring it. Being able to do the calculation in VDS would be a big help. VDS can't do the exponent in the calculation. |
This calculation is already doable with my GadgetX.dll. I will let everyone know when it is ready. I am actually thinking more statistical and scientific calculations which require really really small fractions or really really big whole numbers. After your last post about this subject I decided to make sure that Gadget had everything need to raise one value to the power of another. It's such a simple thing that I couldn't believe that VDS does not have a native @pow function _________________ Home of
Give VDS a new purpose!
|
|
Back to top |
|
|
jwfv Valued Contributor
Joined: 19 Mar 2002 Posts: 422 Location: Beaufort, SC
|
Posted: Tue Mar 21, 2006 1:43 am Post subject: |
|
|
Sounds great -
I know you've been asked this a lot, but any estimate on the release of the new Gadget? I for one am anxiously awaiting it. _________________ Joe Floyd |
|
Back to top |
|
|
|