Shop OBEX P1 Docs P2 Docs Learn Events
Floating Point recommendation — Parallax Forums

Floating Point recommendation

CannibalRoboticsCannibalRobotics Posts: 535
edited 2011-04-08 12:03 in Propeller 1
I'm currently using Float32Full and FloatString for some rather lengthy trig calculations. My system moves slowly, glacial in prop terms. Anyway, I don't need the speed provided by the multicog arrangement but I do need access to all of the trig functions as well as the string utilities for conversion. I can wait several seconds for answers if necessary but I seriously doubt it would take that long.
Anyway, I'd really love to get a couple of those cogs back. Has anyone combined all of that stuff into a single cog spin object?
Thanks!
Jim-

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2011-04-08 11:18
    Yes, look in the Object Exchange under F32. This includes the basic operations and the trig functions. You'll still have to use the separate string functions.
  • CannibalRoboticsCannibalRobotics Posts: 535
    edited 2011-04-08 12:03
    Mike,
    Your awesome! Dropped it in, it's running now and seems to be getting the right answers - I also got about 500 longs free'd.
    Have a great weekend!
    Jim-
Sign In or Register to comment.