lunort

float.h

Oct 31st, 2020 (edited)
2,288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <float.h>
  3.  
  4. int main () {
  5.    printf("The maximum value of float = %.10e\n", FLT_MAX);
  6.    printf("The minimum value of float = %.10e\n", FLT_MIN);
  7.  
  8.    printf("The number of digits in the number = %.10e\n", FLT_MANT_DIG);
  9. }
Add Comment
Please, Sign In to add comment