text: #define MPFR_PREC 200
  #include "LibTestHelper.h"
  
  float MpfrCalculate(float x) {
      mpfr_set_d(mval, (float)x, MPFR_RNDN);
      mpfr_exp2(mval, mval, MPFR_RNDN);
      return ToMPFR(mval);
  }
  
  float fMlibTest(float x) {
      float result = exp2f(x);
      return result;
  }
  
  float dMlibTest(float x) {
      double dx = (double)x;
      double result = exp2(dx);
      float res = (float)result;
      if (result == dx) return x;
      return res;
  }
  
  float rlibmTest(float x) {
      float result = rlibm_exp2(x);
      return result;
  }
  
  int main(int argc, char** argv) {
      
      
      if (argc != 2) {
          printf("Usage: %s <output file>\n", argv[0]);
          exit(0);
      }
      RunCorrectnessTest(1000000, "Exp2(x)", argv[1]);
      return 0;
  }
  