Contact: aviboots(AT)netvision.net.il
40,761 questions
53,136 answers
573 users
#include <stdio.h> #include <math.h> int main(void) { double d = acos(-1); printf("%lf", d); } /* run: 3.141593 */
#include <stdio.h> #include <math.h> int main(void) { double f = cosf(1); printf("%f", f); } /* run: 0.540302 */
#include <stdio.h> #include <math.h> int main(void) { long double ld = cosl(0.0); printf("%Lf", ld); } /* run: 1.000000 */