F32 - Concise floating point code for the Propeller.

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1
Request group membership
By: created: 2013-04-05 | updated: 2013-10-16

F32 - Concise floating point code for the Propeller.

F32 has all of the functionality of Float32Full in a single cog (except the user-defined function mechanism). Compared to Float32Full F32 is faster, and has some corner cases corrected. It also adds a few functions (Exp2, Log2, FloatTrunc, FloatRound, UintTrunc).

* v1.6 - found the bug in the ATan2 code (big thanks to Duane Degn)
* v1.5 - optimizations as suggested by kuroneko...THANKS!
* v1.4 - fixed bug in LOG due to _Table_Interp not handling table address overflow. 0 longs free [8^( {mods by Marty Lawson...THANKS!}
* v1.3 - fixed a bug in FRound...THANKS John Abshier!! Faster wait loops.
* v1.2 - adds a more detailed PASM demo, fixes dispatch table offsets
* v1.1 - adds PASM calling to demo
* v1.0 - initial release

Original File Upload
Package icon F32_v1.6 - Archive [Date 2013.10.16 Time 11.00].zip58.18 KB