09-27-2011 07:20 PM
Hi All,
I am trying to find a library that handles operations on large integers(> 64 bit). Does Labview have a native library? If not, can anyone recommend one that they have used successfully in Labview?
09-27-2011 08:16 PM
09-27-2011 10:33 PM
Basically I am looking for a LabView library that can match the operations achieved by a package like BigInt in PERL. http://perldoc.perl.org/Math/BigInt.html
If not all, at least the most used like Add, Subtract, Multiply, Divide, Modulus and Power.
09-28-2011 02:46 PM
Hello,
There is no native support in LabView for integers greater than 64-bits. You could represent these integers as string, then create functions that convert segments of the string into numbers in 64-bit sizes and operate on them, but this type of workaround would not be handy for operations like Power and Divide. I did find this link about how a user generated their own library to operate on large integers in LabView, which you may find helpful: http://www.imeko2009.it.pt/Papers/FP_206.pdf
Best,
Dan Nelson
Applications Engineer
09-28-2011 06:56 PM
I recall something in one of the old Coding Challenges. Try these links:
http://zone.ni.com/devzone/cda/tut/p/id/5174
http://forums.ni.com/t5/LabVIEW/labview-challenge/m-p/196724#M113055
http://forums.ni.com/t5/LabVIEW/Prime-Factor-Coding-Challenge/m-p/312572#M161937