Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Floating Point for use in Commercial Project

 
Max Simpson
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am working on a project and need floating point. However, MathFP can only be used for non-commercial work. I see they have a link for a license for commercial work but it does not work. Can anyone recommend something else?
Thanks!
 
Jason Fox
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you using floats for? In almost all cases, there are ways around it. Perhaps if you could post some code/ more details, I could be of assistance.
 
Max Simpson
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to make a pinball game and have some ideas that I need to try out. Happen to know of any tutorials on making a pinball game without floating point capability?
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use this strategy.

Make your number * 2048 or some other big 2's power, after calculation, change it back to the original one by dividing the same factor.

Just as good as floating point number and cheap in both money and efficiency sense.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic