github.com/Konstantin8105/c4go@v0.0.0-20240505174241-768bb1c65a51/examples/math.c (about)

     1  #include <math.h>
     2  #include <stdio.h>
     3  
     4  int main()
     5  {
     6      int n;
     7      double param = 8.0, result;
     8      result = frexp(param, &n);
     9      printf("result = %5.2f\n", result);
    10      printf("n      = %d\n", n);
    11      return 0;
    12  }