fork download
  1. #include <iostream>
  2. #include <math.h>
  3. using namespace std;
  4.  
  5. int main() {
  6. float f = 2*cosf(1.57079637f);
  7. cout << f;
  8. return 0;
  9. }
Success #stdin #stdout 0.01s 5468KB
stdin
Standard input is empty
stdout
-8.74228e-08