Jump to content
Sign in to follow this  

Question on int vs. floating point math

Recommended Posts

So, in trying to optimzie the performance of some of my scripts, I was going to look at converting some floating pt calcs into integer ones. But in reading the help file it looks like all math is going to be done in floating point anways. And doing bitwise shifts to multiply and divde look like they would convert to int, shift and convert back to double, just increasing overhead? Are these all correct assumptions?

Looks like I'll just need to move my stuff into a DLL and use DLLCall() to do the grunt work.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...