CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 3 matches
CCS Forum Index
Author Message
  Topic: IEEE 754 half-precision binary floating point
Wi1l

Replies: 6
Views: 21751

PostForum: General CCS C Discussion   Posted: Mon Oct 05, 2020 12:42 pm   Subject: IEEE 754 half-precision binary floating point
Hi Ttelmah, when I try to compile it for Pic18 using ccs V4.074, I get "Unknown type" error in this part of code:

typedef uint16_t float16_t; //Use an int16 to hold the new float
union ...
  Topic: IEEE 754 half-precision binary floating point
Wi1l

Replies: 6
Views: 21751

PostForum: General CCS C Discussion   Posted: Sun Oct 04, 2020 10:28 am   Subject: IEEE 754 half-precision binary floating point
What PIC family are you using?. (PIC16/18 or a PIC24/30/33).
Do you need to handle conversions both ways?.

Hi Ttelmah, I am using PIC18 and need to handle conversions both ways. I need to do this ...
  Topic: IEEE 754 half-precision binary floating point
Wi1l

Replies: 6
Views: 21751

PostForum: General CCS C Discussion   Posted: Sat Oct 03, 2020 8:10 pm   Subject: IEEE 754 half-precision binary floating point
Hi, someone can tell me how to convert a base 10 decimal number to 16 bit half-precision IEEE 754 binary floating point ? I have tried to use the IEEEFloat driver but this only works for 32 bits.
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group