Get floating-point value from mantissa and exponent
#include <math.h> #include <stdio.h> int main(void) { printf("%f", ldexp(1,2)); return 0; }
1. | Calculate exponential: how to use exp | ||
2. | Get mantissa and exponent of floating-point value: how to use frexp | ||
3. | Get floating-point value from mantissa and exponent: how to use ldexp |