From eeb3d0e5b9bd5c28f93afe2c86d586861d83efe6 Mon Sep 17 00:00:00 2001 From: vitalkrilov Date: Wed, 20 Apr 2022 17:30:33 +0000 Subject: [PATCH] libc.obj: updated libc.def, fixed bug with log10 git-svn-id: svn://kolibrios.org@9773 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/ktcc/trunk/bin/lib/libc.def | 3 +++ programs/develop/ktcc/trunk/libc.obj/source/math/log10.s | 1 + 2 files changed, 4 insertions(+) diff --git a/programs/develop/ktcc/trunk/bin/lib/libc.def b/programs/develop/ktcc/trunk/bin/lib/libc.def index a17f4ee2d7..37549fcf34 100644 --- a/programs/develop/ktcc/trunk/bin/lib/libc.def +++ b/programs/develop/ktcc/trunk/bin/lib/libc.def @@ -136,6 +136,9 @@ fabs floor fmod log +log2 +log10 +round modf modfl pow diff --git a/programs/develop/ktcc/trunk/libc.obj/source/math/log10.s b/programs/develop/ktcc/trunk/libc.obj/source/math/log10.s index fa1b90239d..c3c08f9c59 100755 --- a/programs/develop/ktcc/trunk/libc.obj/source/math/log10.s +++ b/programs/develop/ktcc/trunk/libc.obj/source/math/log10.s @@ -5,5 +5,6 @@ log10: fldl 4(%esp) fyl2x fldl2t + fxch fdivp ret