From 705c0883ac3dd139ca8f4498e65c3d7bc677e17a Mon Sep 17 00:00:00 2001 From: vitalkrilov Date: Sun, 10 Apr 2022 23:56:16 +0000 Subject: [PATCH] libc.obj: added missing sqrt, cosh functions libc.def: added sqrt, cosh, sin, tan functions git-svn-id: svn://kolibrios.org@9761 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/ktcc/trunk/bin/lib/libc.def | 5 ++++- programs/develop/ktcc/trunk/libc.obj/source/libc.c | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/programs/develop/ktcc/trunk/bin/lib/libc.def b/programs/develop/ktcc/trunk/bin/lib/libc.def index b37a70843f..e7e026f5b8 100644 --- a/programs/develop/ktcc/trunk/bin/lib/libc.def +++ b/programs/develop/ktcc/trunk/bin/lib/libc.def @@ -119,10 +119,10 @@ socketpair acosh asinh atanh -acosh frexp hypot ldexp +cosh sinh tanh acos @@ -131,6 +131,9 @@ atan atan2 ceil cos +sin +tan +sqrt exp fabs floor diff --git a/programs/develop/ktcc/trunk/libc.obj/source/libc.c b/programs/develop/ktcc/trunk/libc.obj/source/libc.c index c979483d03..40c288cb95 100644 --- a/programs/develop/ktcc/trunk/libc.obj/source/libc.c +++ b/programs/develop/ktcc/trunk/libc.obj/source/libc.c @@ -265,6 +265,7 @@ ksys_dll_t EXPORTS[] = { {"frexp", &frexp}, {"hypot", &hypot}, {"ldexp", &ldexp}, + {"cosh", &cosh}, {"sinh", &sinh}, {"tanh", &tanh}, {"acos", &acos}, @@ -275,6 +276,7 @@ ksys_dll_t EXPORTS[] = { {"cos", &cos}, {"sin", &sin}, {"tan", &tan}, + {"sqrt", &sqrt}, {"exp", &exp}, {"fabs", &fabs}, {"floor", &floor},