Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

How to set bit in float number in C

int32_t i = 0x7FC00000;
float f;
memcpy(&f, &i, sizeof(f));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #set #bit #float #number #C
ADD COMMENT
Topic
Name
1+8 =