fork download
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int main(void) {
  5. printf("%f", remainder(-1.6, 0.5));
  6. return 0;
  7. }
  8.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
-0.100000