We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest! Update Here
Stay in the loop with the latest from Microchip! Update your profile while you are at it. Update Here
Complete your profile to access more resources.Update Here!

AN575

Title
Title
IEEE 754 Compliant Floating Point Routines
Name
Name
AN575
Date
Date
06/24/2015
Application Categories
Application Categories
Algorithms (Building Blocks) / Math
Product Categories
Product Categories
16-bit MCUs
8-bit MCU
dsPIC DSCs
Description
Description
This application note presents an implementation of the following floating point math routines for the PICmicro microcontroller families: float to integer conversion,integer to float conversion,normalize,add/subtract,multiply,divide. Routines for the PIC16/17 families are provided in a modified IEEE 754 32-bit format together with versions in 24-bit reduced format. This application note presents an implementation of the following floating point math routines for the PICmicro microcontroller families: ? float to integer conversion ? integer to float conversion ? normalize ? add/subtract ? multiply ? divide Routines for the PIC16/17 families are provided in a modified IEEE 754 32-bit format together with versions in 24-bit reduced format. This application note presents an implementation of the following floating point math routines for the PICmicro microcontroller families: ? float to integer conversion ? integer to float conversion ? normalize ? add/subtract ? multiply ? divide Routines for the PIC16/17 families are provided in a modified IEEE 754 32-bit format together with versions in 24-bit reduced format.

Files

Title Title Download Date Size
AN575 Source Code - IEEE 754 Compliant Floating Point Routines 220.4 KB 06/23/2015 AN575 Source Code - IEEE 754 Compliant Floating Point Routines Download 06/23/2015 220.4 KB