Overview
- Object ID : 4047 (2023-10-18 20:20:44)
- Author : ersmith
- Content : Code
- Microcontroller : Propeller 2
- Language : SPIN2
- Category : Math
- Licence : MIT
- Tag : float decimal math
Content
This object provides decimal (base 10) floating point math routines. The default Spin2 floating point uses the IEEE binary (base 2) format, which has the disadvantage that numbers like 0.1 or 0.02 are not exactly representable; this creates confusion and error.