Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

floating point base types

Avatar
RankRank

Total Posts: 40

Joined 2009-03-20

PM

From the .FIT documentation, it looks like there are two floating point types defined, 0x88/float32 and 0x89/float64.

I can find no other reference to them in the documentation or Profiles.xls spreadsheet.

Are these two types simply IEEE-754 single- and double-precision floating point types? Are there any restrictions on valid data for them? The 0xffff "invalid" value is actually a valid quiet NaN value. Maybe this is by design.

Regards,
Mark      
RankRankRank

Total Posts: 91

Joined 2012-10-12

PM

Hi Mark, FIT uses standard floating point representation for the float32 and float64 types with the invalid value (all '1's) indicating uninitialized.

     
Avatar
RankRank

Total Posts: 40

Joined 2009-03-20

PM

FIT uses standard floating point representation


Which standard would that be?      
RankRankRank

Total Posts: 91

Joined 2012-10-12

PM

-The FIT float32 and float64 types follow IEEE 754