2004-08-29 08:35 PM
IEEE754-compliant floating-point routines in asm
2004-08-27 03:43 AM
Hi,
Does anyone know of a standard implementation of the IEEE754 floating point routines for the ST7 and would be willing to point me in the right direction? Kindest regards, Chris.2004-08-27 05:10 AM
Chris,
the floating point routines are too heavy load for a simple microcontroller like the ST7! Its hardware can only afford unsigned multiplication while unsigned division has to be done by a software routine. If you need the basic floating point operations, try to encode your data in a fixed point representation and use integer operations to ''simulate'' the floating point ones. Regards, EtaPthi2004-08-29 08:35 PM
Hi,
The Cosmic compiler/libraries provide this implementation, including the source code for all operations (mostly asm for the basic operations, mostly C for the complex ones). Hope this helps. Regards, Luca (Cosmic)