Skip to Content
Making Embedded Systems, 2nd Edition
book

Making Embedded Systems, 2nd Edition

by Elecia White
March 2024
Intermediate to advanced
428 pages
12h 6m
English
O'Reilly Media, Inc.
Audio summary available
Content preview from Making Embedded Systems, 2nd Edition

Chapter 12. Math

When we looked at trading resources in the last chapter, you had to choose between RAM, code space, and processing cycles. Trading these resources goes only so far. Sometimes you need to make your code go faster. Not knowing what you’ll need for your system, I can still guess that you’ll need to implement some math (because that is where processors excel).

The less your system does, the fewer resources it needs to do it. Sometimes we confuse accuracy, which is important, with precision, which can go too far. If you can quantify the range of data you expect and your error budget, there are some useful methods to reduce unnecessary precision for all sorts of algorithms, thereby saving RAM and processing cycles.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Making Embedded Systems

Making Embedded Systems

Elecia White

Publisher Resources

ISBN: 9781098151539Errata PageSupplemental Content