[ros-diffs] [tkreuzer] 48271: [CRT] Add logf wrapper

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Mon Jul 26 01:10:21 UTC 2010


Author: tkreuzer
Date: Mon Jul 26 01:10:20 2010
New Revision: 48271

URL: http://svn.reactos.org/svn/reactos?rev=48271&view=rev
Log:
[CRT]
Add logf wrapper

Added:
    trunk/reactos/lib/sdk/crt/math/logf.c   (with props)
Modified:
    trunk/reactos/lib/sdk/crt/crt.rbuild

Modified: trunk/reactos/lib/sdk/crt/crt.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/crt.rbuild?rev=48271&r1=48270&r2=48271&view=diff
==============================================================================
--- trunk/reactos/lib/sdk/crt/crt.rbuild [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/crt.rbuild [iso-8859-1] Mon Jul 26 01:10:20 2010
@@ -121,6 +121,7 @@
 		<file>huge_val.c</file>
 		<file>hypot.c</file>
 		<file>ldiv.c</file>
+		<file>logf.c</file>
 		<file>modf.c</file>
 		<file>rand.c</file>
 		<file>s_modf.c</file>

Added: trunk/reactos/lib/sdk/crt/math/logf.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/logf.c?rev=48271&view=auto
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/logf.c (added)
+++ trunk/reactos/lib/sdk/crt/math/logf.c [iso-8859-1] Mon Jul 26 01:10:20 2010
@@ -1,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 <math.h>
+
+float logf(float _X)
+{
+  return ((float)log((double)_X));
+}

Propchange: trunk/reactos/lib/sdk/crt/math/logf.c
------------------------------------------------------------------------------
    svn:eol-style = native




More information about the Ros-diffs mailing list