summaryrefslogtreecommitdiff
path: root/05/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-02-15 22:41:18 -0500
committerpommicket <pommicket@gmail.com>2022-02-15 22:41:18 -0500
commit42911ccf67dd13293d332e75d6d7772c8ebb9fb8 (patch)
treebe2d76a46d4ddf0966b3a63f9b89fa912c049abd /05/main.c
parent95e7ec1ab5c1de11719be901a8b8451a49fa6c7b (diff)
math.h
Diffstat (limited to '05/main.c')
-rw-r--r--05/main.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/05/main.c b/05/main.c
index a77ccf2..5f57418 100644
--- a/05/main.c
+++ b/05/main.c
@@ -1,15 +1,9 @@
#define _STDLIB_DEBUG
+#include <math.h>
#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <ctype.h>
-#include <locale.h>
int main(int argc, char **argv) {
- setlocale(LC_ALL, "C");
- struct lconv *c = localeconv();
- printf("%s\n",c->negative_sign);
+ printf("%.16g\n", cosh(10));
return 0;
}