Answers for "How to set bit in float number in C"

C
0

How to set bit in float number in C

int32_t i = 0x7FC00000;
float f;
memcpy(&f, &i, sizeof(f));
Posted by: Guest on April-17-2022

Code answers related to "C"

Browse Popular Code Answers by Language