2 * MSVCRT Unix interface
4 * Copyright 2020 Alexandre Julliard
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
26 #include "wine/port.h"
30 #define __USE_ISOC9X 1
31 #define __USE_ISOC99 1
38 #define WIN32_NO_STATUS
41 #include "wine/debug.h"
43 WINE_DEFAULT_DEBUG_CHANNEL(msvcrt
);
45 /*********************************************************************
48 static double CDECL
unix_exp( double x
)
53 /*********************************************************************
56 static float CDECL
unix_expf( float x
)
61 /*********************************************************************
64 static double CDECL
unix_exp2( double x
)
73 /*********************************************************************
76 static float CDECL
unix_exp2f( float x
)
85 /*********************************************************************
88 static float CDECL
unix_fmaf( float x
, float y
, float z
)
97 /*********************************************************************
100 static double CDECL
unix_lgamma(double x
)
105 FIXME( "not implemented\n" );
110 /*********************************************************************
113 static float CDECL
unix_lgammaf(float x
)
118 FIXME( "not implemented\n" );
123 /*********************************************************************
126 static double CDECL
unix_pow( double x
, double y
)
131 /*********************************************************************
134 static float CDECL
unix_powf( float x
, float y
)
139 /*********************************************************************
142 static double CDECL
unix_tgamma(double x
)
147 FIXME( "not implemented\n" );
152 /*********************************************************************
155 static float CDECL
unix_tgammaf(float x
)
160 FIXME( "not implemented\n" );
165 static const struct unix_funcs funcs
=
180 NTSTATUS CDECL
__wine_init_unix_lib( HMODULE module
, DWORD reason
, const void *ptr_in
, void *ptr_out
)
182 if (reason
!= DLL_PROCESS_ATTACH
) return STATUS_SUCCESS
;
184 *(const struct unix_funcs
**)ptr_out
= &funcs
;
185 return STATUS_SUCCESS
;