remainderl.c 273 B

123456789101112131415
  1. #include <math.h>
  2. #include <float.h>
  3. #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
  4. long double remainderl(long double x, long double y)
  5. {
  6. return remainder(x, y);
  7. }
  8. #else
  9. long double remainderl(long double x, long double y)
  10. {
  11. int q;
  12. return remquol(x, y, &q);
  13. }
  14. #endif