fork download
  1. #include <stdio.h>
  2. #include <stdint.h>
  3.  
  4. int main(void) {
  5. printf("diffmax = %d \n", ((((int32_t)(((((((7.5f) * (0.036f)) * 2.0f) / (0.0538F)) * 100.0f) * (float)(32767U)) / (uint32_t)(((float)(32767U) * (60.0F))/(float)(16383U)))) * (1 << 12)) / (1 << 16)));
  6. printf("kdmax = %d\n", (int32_t)(((1 << 19) * 4 * (60.0F)) / (((((7.5f) * (0.036f)) * 2.0f) / (0.0538F)) * 100.0f)));
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
diffmax = 17129 
kdmax = 125363