• 0
    • ارسال درخواست
    • حذف همه
    • Industrial Standards
    • Defence Standards
  • درباره ما
  • درخواست موردی
  • فهرست استانداردها
    • Industrial Standards
    • Defence Standards
  • راهنما
  • Login
  • لیست خرید شما 0
    • ارسال درخواست
    • حذف همه
View Item 
  •   YSE
  • Industrial Standards
  • SAE - SAE International
  • View Item
  •   YSE
  • Industrial Standards
  • SAE - SAE International
  • View Item
  • All Fields
  • Title(or Doc Num)
  • Organization
  • Year
  • Subject
Advanced Search
JavaScript is disabled for your browser. Some features of this site may not work without it.

Archive

Safe Handling of Floating Point Math in C Code Embedded Applications

2017_01_1619

Organization:
SAE - SAE International
Year: 2017

Abstract: The introduction of floating point math in Embedded Application ECU’s has made the implementation of complex math functions less error prone but not error proof. This paper shall focus on raising awareness of the pitfalls that come from the use of the basic floating point arithmetic operations, that is, Divide, Multiply, Add and Subtract. Due to the known pitfalls inherent in these basic math operations, it is proposed that a standard library with common functions appropriate for Powertrain Embedded applications (but not limited to Powertrain) be identified. This paper shall explore what these common functions will look like for both standard C code as well as the equivalent versions in Matlab™ Simulink™. The particular pitfalls this paper shall discuss are Divide-By-Zero, Overflow, Underflow and Loss-Of-Precision for both single and double precision floating point variables. This paper shall reference the IEEE-754 Floating Point standard used by most Embedded C applications. This paper shall discuss the importance of recognizing these pitfalls as well as understanding the trade-offs in terms of processor resources.
URI: https://yse.yabesh.ir/std/handle/yse/257966
Collections :
  • SAE - SAE International
  • Download PDF : (933.0Kb)
  • Show Full MetaData Hide Full MetaData
  • Statistics

    Safe Handling of Floating Point Math in C Code Embedded Applications

Show full item record

contributor authorSAE - SAE International
date accessioned2018-07-30T05:59:43Z
date available2018-07-30T05:59:43Z
date copyright3/28/2017 12:00:00 AM
date issued2017
identifier other2017_01_1619.pdf
identifier urihttps://yse.yabesh.ir/std/handle/yse/257966
description abstractThe introduction of floating point math in Embedded Application ECU’s has made the implementation of complex math functions less error prone but not error proof. This paper shall focus on raising awareness of the pitfalls that come from the use of the basic floating point arithmetic operations, that is, Divide, Multiply, Add and Subtract. Due to the known pitfalls inherent in these basic math operations, it is proposed that a standard library with common functions appropriate for Powertrain Embedded applications (but not limited to Powertrain) be identified. This paper shall explore what these common functions will look like for both standard C code as well as the equivalent versions in Matlab™ Simulink™. The particular pitfalls this paper shall discuss are Divide-By-Zero, Overflow, Underflow and Loss-Of-Precision for both single and double precision floating point variables. This paper shall reference the IEEE-754 Floating Point standard used by most Embedded C applications. This paper shall discuss the importance of recognizing these pitfalls as well as understanding the trade-offs in terms of processor resources.
languageEnglish
titleSafe Handling of Floating Point Math in C Code Embedded Applicationsen
title2017_01_1619num
typestandard
treeSAE - SAE International:;2017
contenttypefulltext
identifier DOI10.4271/2017-01-1619
DSpace software copyright © 2017-2020  DuraSpace
نرم افزار کتابخانه دیجیتال "دی اسپیس" فارسی شده توسط یابش برای کتابخانه های ایرانی | تماس با یابش
yabeshDSpacePersian
 
DSpace software copyright © 2017-2020  DuraSpace
نرم افزار کتابخانه دیجیتال "دی اسپیس" فارسی شده توسط یابش برای کتابخانه های ایرانی | تماس با یابش
yabeshDSpacePersian