Fast math needed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dawoodoz
    New Member
    • Oct 2006
    • 14

    #1

    Fast math needed

    I am programming with prim numbers in VB6.0 and need a much faster and more accurate function to get the rest and quota of A and B.
    In StandardML, the words DIV and MOD are exactly the kind of functions I need.
    I do not want to use a loop or int(A/B), because the loop is too slow and floating values and not accurate at all for 16-digit numbers.
    Is there any math API to use from another language?
Working...