</directory>
</if>
<if property="ARCH" value="amd64">
- <directory name="i386">
- <file>atan2.c</file>
- <file>exp.c</file>
- <file>fmod.c</file>
- <file>ldexp.c</file>
+ <directory name="amd64">
+ <file>alldiv.S</file>
+ <file>atan.S</file>
+ <file>atan2.S</file>
+ <file>ceil.S</file>
+ <file>cos.S</file>
+ <file>exp.S</file>
+ <file>fabs.S</file>
+ <file>floor.S</file>
+ <file>fmod.S</file>
+ <file>ldexp.S</file>
+ <file>log.S</file>
+ <file>log10.S</file>
+ <file>pow.S</file>
+ <file>sin.S</file>
+ <file>sqrt.S</file>
+ <file>tan.S</file>
</directory>
</if>
<ifnot property="ARCH" value="i386">
<directory name="amd64">
<file>alldiv.S</file>
<file>atan.S</file>
+ <file>atan2.S</file>
<file>ceil.S</file>
<file>cos.S</file>
+ <file>exp.S</file>
<file>fabs.S</file>
<file>floor.S</file>
+ <file>fmod.S</file>
+ <file>ldexp.S</file>
<file>log.S</file>
+ <file>log10.S</file>
<file>pow.S</file>
<file>sin.S</file>
<file>sqrt.S</file>
--- /dev/null
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * PURPOSE: Implementation of atan2
+ * FILE: lib/sdk/crt/math/amd64/atan2.S
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <ndk/amd64/asm.h>
+#include <ndk/amd64/asmmacro.S>
+
+.intel_syntax noprefix
+
+
+.proc atan2
+ UNIMPLEMENTED atan2
+ ret
+
+.endproc
--- /dev/null
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * PURPOSE: Implementation of exp
+ * FILE: lib/sdk/crt/math/amd64/exp.S
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <ndk/amd64/asm.h>
+#include <ndk/amd64/asmmacro.S>
+
+.intel_syntax noprefix
+
+
+.proc exp
+ UNIMPLEMENTED exp
+ ret
+
+.endproc
--- /dev/null
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * PURPOSE: Implementation of fmod
+ * FILE: lib/sdk/crt/math/amd64/fmod.S
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <ndk/amd64/asm.h>
+#include <ndk/amd64/asmmacro.S>
+
+.intel_syntax noprefix
+
+
+.proc fmod
+ UNIMPLEMENTED fmod
+ ret
+
+.endproc
--- /dev/null
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * PURPOSE: Implementation of ldexp
+ * FILE: lib/sdk/crt/math/amd64/ldexp.S
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <ndk/amd64/asm.h>
+#include <ndk/amd64/asmmacro.S>
+
+.intel_syntax noprefix
+
+
+.proc ldexp
+ UNIMPLEMENTED ldexp
+ ret
+
+.endproc
--- /dev/null
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * PURPOSE: Implementation of log10
+ * FILE: lib/sdk/crt/math/amd64/log10.S
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <ndk/amd64/asm.h>
+#include <ndk/amd64/asmmacro.S>
+
+.intel_syntax noprefix
+
+
+.proc log10
+ UNIMPLEMENTED log10
+ ret
+
+.endproc
return &tm;
}
+struct tm *
+_localtime64(const __time64_t * CPP_CONST timep)
+{
+ static struct tm tm;
+
+ localsub(timep, 0L, &tm);
+ return &tm;
+}
+
/*
** gmtsub is to gmtime as localsub is to localtime.
*/
return tt;
}
+__time64_t _time64(__time64_t* t)
+{
+ FILETIME SystemTime;
+ DWORD Remainder;
+ __time64_t tt;
+ GetSystemTimeAsFileTime(&SystemTime);
+ tt = FileTimeToUnixTime(&SystemTime,&Remainder);
+ if (t)
+ *t = tt;
+ return tt;
+}
+
/***********************************************************************
* DOSFS_UnixTimeToFileTime
*