m3nth Posted July 2, 2005 Report Share Posted July 2, 2005 I was wondering if anyone knows of any libraries or optimized functions that perform math on large numbers. I've coded my own but am curious on more optimal ways of implementing some of the functions I have. I haven't been able to find anything online. This post on factorials has been my inspiration to start looking though: The factorial routine that won the NI coding challenge does 3000 factorial in 50ms! That's wayyyyy faster than my math VI's (3.6 million times faster to be exact). http://forums.lavausergroup.org/index.php?showtopic=1543 I was wondering if anyone has seen any pre-existing code floating around somewhere though to perform large number math using arrays. Quote Link to comment
Rolf Kalbermatter Posted July 2, 2005 Report Share Posted July 2, 2005 I was wondering if anyone knows of any libraries or optimized functions that perform math on large numbers. I've coded my own but am curious on more optimal ways of implementing some of the functions I have. I haven't been able to find anything online.This post on factorials has been my inspiration to start looking though: The factorial routine that won the NI coding challenge does 3000 factorial in 50ms! That's wayyyyy faster than my math VI's (3.6 million times faster to be exact). http://forums.lavausergroup.org/index.php?showtopic=1543 I was wondering if anyone has seen any pre-existing code floating around somewhere though to perform large number math using arrays. 5202[/snapback] Greg McKaskle, yes the famous one, has mentioned on InfoLabVIEW some time ago that he has a string based math library which can work with arbitrary size of numbers. Since it is string based I would guess it is not for performance junkies, but it has no other limitation in number format than what the computer can provide on memory. I think he offered this library to interested people and he may even have put it up on the Developer Exchange at some point but I'm not sure about this last point. Rolf Kalbermatter Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.