
Recent Posts
Recent Comments
Jim Eli on Continued Look at Fixed Point… Jim Eli on Continued Look at Fixed Point… LR on Continued Look at Fixed Point… Ivan Vachovsky on Blynking an IoT Yunshan ESP826… Adrian L on Blynking an IoT Yunshan ESP826… Archives
 October 2019
 August 2019
 April 2019
 February 2019
 January 2019
 May 2018
 January 2018
 November 2017
 May 2017
 January 2017
 December 2016
 November 2016
 May 2016
 April 2016
 March 2016
 February 2016
 January 2016
 December 2015
 November 2015
 October 2015
 September 2015
 August 2015
 July 2015
 June 2015
 April 2015
 March 2015
 February 2015
 January 2015
 December 2014
 July 2014
 June 2014
 May 2014
 April 2014
 November 2013
 October 2013
 September 2013
 July 2013
 June 2013
 May 2013
 April 2013
 March 2013
 February 2013
 December 2012
 November 2012
 October 2012
 August 2012
 June 2012
 May 2012
 April 2012
 March 2012
 February 2012
Categories
Meta
Tag Archives: math
Arduino s16.15 Fixed Point Math Routines
It is important to note, that fixed point math comes in many flavors. For example, a 16bit integer can implement 31 different fixed point formats, signed and unsigned Q1 through Q16 (Q number format). A couple of popular 16bit formats … Continue reading
AVR GCC FixedPoint vs. Floating Point Comparison
This is a follow up to previous posts here and here. Using native fixed point support in GCC, on a generic ATMega328P running 16MHz on the AtmelStudio 6.2 simulator, I performed this overly simplified comparison of fixed vs. floating point … Continue reading
A Note about GPS Precision and Floating Point Math
Do you suspect your GPS is not accurate enough? Maybe the GPS accuracy is not the fault, it could be the precision. And it might not be the precision of the GPS, it could be a floating point math issue. … Continue reading
Continued Look at Fixed Point Math on the Arduino Platform
Continuing my overly simplified comparison of 24.8 fixed point vs. floating math on the AVR168/328 chip, I compared the elapsed time of the following two division operations running at 16Mhz: That’s nearly 1.8 times faster for the fixedpoint math. If … Continue reading
Fixed Point Math on the Arduino Platform
Here is an overly simplified comparison of 24.8 fixed point vs. floating math on the AVR168/328 chip. I compared the elapsed time of the following two multiplications running at 16Mhz: That’s nearly 9.5 times faster. However, my comparison is not … Continue reading