From 0e58e11548959d66968349454ef4a30c673c33f8 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Mon, 26 Jul 2010 01:10:20 +0000 Subject: [PATCH] [CRT] Add logf wrapper svn path=/trunk/; revision=48271 --- reactos/lib/sdk/crt/crt.rbuild | 1 + reactos/lib/sdk/crt/math/logf.c | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 reactos/lib/sdk/crt/math/logf.c diff --git a/reactos/lib/sdk/crt/crt.rbuild b/reactos/lib/sdk/crt/crt.rbuild index a8cbc9020ad..ba76d8cc0bb 100644 --- a/reactos/lib/sdk/crt/crt.rbuild +++ b/reactos/lib/sdk/crt/crt.rbuild @@ -121,6 +121,7 @@ huge_val.c hypot.c ldiv.c + logf.c modf.c rand.c s_modf.c diff --git a/reactos/lib/sdk/crt/math/logf.c b/reactos/lib/sdk/crt/math/logf.c new file mode 100644 index 00000000000..0da1dae909f --- /dev/null +++ b/reactos/lib/sdk/crt/math/logf.c @@ -0,0 +1,11 @@ +/** + * This file has no copyright assigned and is placed in the Public Domain. + * This file is part of the w64 mingw-runtime package. + * No warranty is given; refer to the file DISCLAIMER.PD within this package. + */ +#include + +float logf(float _X) +{ + return ((float)log((double)_X)); +}