Transcription of Floating Point Math Functions - Microchip Technology
{{id}} {{{paragraph}}}
M 1997 Microchip Technology 1 INTRODUCTION This application note presents implementations of thefollowing math routines for the Microchip PICmicro microcontroller family: square root function, exponential function, base 10 exponential function, natural log function, common log function, trigonometric sine function trigonometric cosine functiontrigonometric sine and cosine func-tions power function, floor function, largest integer not greater than x, as float, Floating Point logical comparison tests integer random number generatorRoutines for the PIC16 CXXX and PIC17 CXXX familiesare provided in a modified IEEE 754 32-bit formattogether with versions in 24-bit reduced techniques and methods of approximation pre-sented here attempt to balance the usually conflictinggoals of execution speed verses memory consumption.
AN660 DS00660A-page 2 1997 Microchip Technology Inc. RANGE REDUCTION Since most functions of scientific interest have large domains, function identities are typically used to map
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}
1 Unit 3: Exponential Functions, Functions - Exponential Functions, Exponential, Exponential and Log Functions Worksheet, Exponential and Log Functions Worksheet Exponential Functions, Exponential and logarithm functions, Exponential functions, Hyperbolic functions, Functions, EGN1006 - Mathcad fundamentals and functions III, Better Exponential Curve Fitting Using, Matrix Exponential. Fundamental Matrix Solution. Objective, Trigonometry, Trigonometry Trigonometry